Skip to content

Commit

Permalink
Print seconds to avoid unreadable minutes
Browse files Browse the repository at this point in the history
Signed-off-by: whitewindmills <[email protected]>
  • Loading branch information
whitewindmills committed Aug 5, 2024
1 parent 8b4e006 commit 4af54fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (c *CRBApplicationFailoverController) Reconcile(ctx context.Context, req co
return controllerruntime.Result{}, err
}
if retryDuration > 0 {
klog.V(4).Infof("Retry to check health status of the workload after %v minutes.", retryDuration.Minutes())
klog.V(4).Infof("Retry to check health status of the workload after %v seconds.", retryDuration.Seconds())
return controllerruntime.Result{RequeueAfter: retryDuration}, nil
}
return controllerruntime.Result{}, nil
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (c *RBApplicationFailoverController) Reconcile(ctx context.Context, req con
return controllerruntime.Result{}, err
}
if retryDuration > 0 {
klog.V(4).Infof("Retry to check health status of the workload after %v minutes.", retryDuration.Minutes())
klog.V(4).Infof("Retry to check health status of the workload after %v seconds.", retryDuration.Seconds())
return controllerruntime.Result{RequeueAfter: retryDuration}, nil
}
return controllerruntime.Result{}, nil
Expand Down

0 comments on commit 4af54fb

Please sign in to comment.