Skip to content

Commit

Permalink
fix: update agent
Browse files Browse the repository at this point in the history
  • Loading branch information
Mahanmmi committed Jun 19, 2024
1 parent ef86166 commit 799ef80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kaytu/cmd/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (c *KaytuCmd) Optimize(ctx context.Context, command string) error {
return err
}

args := []string{"optimize", command, "--output", "json", "--agent-disabled", "true"}
args := []string{"optimize", command, "--agent-mode", "--output", "json", "--agent-disabled", "true"}
if c.cfg.KaytuConfig.ObservabilityDays > 0 {
args = append(args, "--observabilityDays", fmt.Sprintf("%d", c.cfg.KaytuConfig.ObservabilityDays))
}
Expand Down

0 comments on commit 799ef80

Please sign in to comment.