Skip to content

Commit

Permalink
Log when skipping endpoint due to dry run mode
Browse files Browse the repository at this point in the history
Co-authored-by: Benjamin Wang <benjamin.wang@broadcom.com>
  • Loading branch information
pchaseh and ahrtr authored Aug 29, 2024
1 parent 8930ea5 commit 788f04d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ func defragCommandFunc(cmd *cobra.Command, args []string) {
}

if globalCfg.dryRun {
fmt.Printf("[Dry run] skip defragmenting endpoint %q\n", ep)
continue
}

Expand Down

0 comments on commit 788f04d

Please sign in to comment.