We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3443284 commit 9079f5aCopy full SHA for 9079f5a
cmd/main.go
@@ -41,7 +41,7 @@ var agentRunWorkflowCmd = &cobra.Command{
41
inventoryFile, _ := cmd.Flags().GetString("inventory")
42
43
agent := storm.NewAgent()
44
- err := agent.Run(agent.WithFiles(workflowFile, inventoryFile))
+ err := agent.Run(agent.AgentWithFiles(workflowFile, inventoryFile))
45
if err != nil {
46
os.Exit(1)
47
}
@@ -101,7 +101,7 @@ var runWorkflowCmd = &cobra.Command{
101
wc.Directory = directory
102
103
104
- err = workflow.RunWithConfig(*wc)
+ err = workflow.Run(workflow.WorkflowWithConfig(*wc))
105
106
107
0 commit comments