chore: apply gofumpt formatting

This commit is contained in:
sam committed 2026-08-23 15:49:40 +00:00
1 parent 6bfffc1ee6
commit 7b147a8a10
2 files changed
+7 -3

No files matched your search

+5 -2
View File
@@ -75,8 +75,11 @@ func (t *workerTransportStub) SubscribeTasks(_ context.Context, _ int64, dedicat
closeErr: t.subCloseErr,
}, nil
}
func (*workerTransportStub) Forger(string, time.Duration) workflow.Forger { return nil }
func (*workerTransportStub) Store(time.Duration) store.WorkflowStore { return nil }
func (*workerTransportStub) Forger(string, time.Duration) workflow.Forger { return nil }
func (*workerTransportStub) Store(time.Duration) store.WorkflowStore { return nil }
func (*workerTransportStub) Trees(string, string, time.Duration) agentnats.RemoteTrees { return nil }
func TestRunPassesCompleteTransportConfiguration(t *testing.T) {
+2 -1
View File
@@ -48,7 +48,8 @@ func (i CommandInstaller) Install(ctx context.Context, meta InstallMeta, progres
return Result{}, fmt.Errorf("update install command is empty")
}
cmd := exec.CommandContext(ctx, i.Command[0], i.Command[1:]...)
cmd.Env = append(cmd.Environ(),
cmd.Env = append(
cmd.Environ(),
"ARCHIE_UPDATE_CHANNEL="+meta.Channel,
"ARCHIE_UPDATE_CHAT_ID="+strconv.FormatInt(meta.ChatID, 10),
"ARCHIE_UPDATE_THREAD_ID="+strconv.Itoa(meta.ThreadID),