Skip to content

Commit

Permalink
use klog.Info/Infof for consistency
Browse files Browse the repository at this point in the history
Co-authored-by: Kishen V <[email protected]>
  • Loading branch information
priyanshikhetwani and kishen-v authored Oct 7, 2024
1 parent 88add6e commit 05f535b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ func PollUntil(pollInterval, timeOut <-chan time.Time, condition func() (string,
return err
} else if done {
close(doneChan) // Stop spinner
fmt.Printf("\rPolling successful! Message: %s (Total time: %s)\n", logMessage, totalElapsed.Round(time.Second))
klog.Infof("Operation completed successfully. Message: %s (Total time: %s)\n", logMessage, totalElapsed.Round(time.Second))
return nil
} else {

Expand Down

0 comments on commit 05f535b

Please sign in to comment.