Notify Tentacles when pending Remote approval is revoked
This commit is contained in:
1 parent
205cb27483
commit
9bc74dbb13
8 files changed
+61
-12
No files matched your search
@@ -43,8 +43,8 @@ func (runtime *tentacleRuntime) interact(ctx context.Context, command tentacleCo
|
||||
defer stopCommand()
|
||||
stop := context.AfterFunc(command.session.OutputContext(), cancel)
|
||||
defer stop()
|
||||
// Policy cancellation can interrupt setup before a lease exists, when no
|
||||
// remote.revoked event is emitted. Tell the original continuation to stop its
|
||||
// Policy cancellation can interrupt setup before approval exists.
|
||||
// Tell the original continuation to stop its
|
||||
// inspection/setup workers before releasing the interaction slot. Never pass
|
||||
// cancelled form values or reuse the cancelled interaction context.
|
||||
cleanupNext := ""
|
||||
|
||||
Reference in new issue
Block a user