Skip to content

Commit

Permalink
Add missing format specifier in watchCmd() (#29251) (#29286)
Browse files Browse the repository at this point in the history
(cherry picked from commit 95c6b61)

Co-authored-by: Tim Rühsen <tim.ruehsen@gmx.de>
  • Loading branch information
mergify[bot] and rockdaboot authored Dec 6, 2021
1 parent 89bdf11 commit 850dec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/elastic-agent/pkg/agent/cmd/watch.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func watchCmd(streams *cli.IOStreams, cmd *cobra.Command, args []string) error {

ctx := context.Background()
if err := watch(ctx, tilGrace, log); err != nil {
log.Debugf("Error detected proceeding to rollback", err)
log.Debugf("Error detected proceeding to rollback: %v", err)
err = upgrade.Rollback(ctx, marker.PrevHash, marker.Hash)
if err != nil {
log.Error("rollback failed", err)
Expand Down

0 comments on commit 850dec3

Please sign in to comment.