gofmt the act target guard (V-634)

Landed unformatted, so make test failed on fmt-check for everyone after.
This commit is contained in:
2026-08-06 20:55:53 +04:00
parent c61b0b3968
commit b3936348f5
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -104,4 +104,3 @@ func (h *reactiveHandler) actionAct(ctx context.Context, dec router.Decision) st
}
return phraser.A(phraser.ActDone, nil)
}
+1 -1
View File
@@ -328,7 +328,7 @@ func TestExecEmptyCmdRefuses(t *testing.T) {
func TestExecRefusesATargetTheSystemCannotHave(t *testing.T) {
api := fakeAPI{tools: map[string]ipc.Tool{
"restart": {Name: "restart", Cmd: []string{"systemctl", "restart"}, Status: "enabled"},
"drop": {Name: "drop", Cmd: []string{"dropdb"}, Destructive: true, Status: "enabled"},
"drop": {Name: "drop", Cmd: []string{"dropdb"}, Destructive: true, Status: "enabled"},
}}
ran := false
e := NewExecutor(api, 0)