Skip to content

Commit

Permalink
fix format in printing
Browse files Browse the repository at this point in the history
  • Loading branch information
DockToFuture committed Apr 2, 2024
1 parent 597cec9 commit ba8554d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controllers/nodeipam/ipam/ipv6_allocator.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ func (ra6 *IPv6RangeAllocator) process() bool {

timeTaken := time.Since(workItem.enqueueTime).Seconds()
recordWorkItemLatencyMetrics(workItemDequeuingTimeWorkItemMetric, timeTaken)
klog.Infof("Dequeuing latency %s", timeTaken)
klog.Infof("Dequeuing latency %f", timeTaken)

instanceID, err := awsv1.KubernetesInstanceID(workItem.node.Spec.ProviderID).MapToAWSInstanceID()
if err != nil {
Expand Down Expand Up @@ -202,7 +202,7 @@ func (ra6 *IPv6RangeAllocator) process() bool {
klog.Infof("Finished processing %s", workItem)
timeTaken = time.Since(workItem.enqueueTime).Seconds()
recordWorkItemLatencyMetrics(workItemProcessingTimeWorkItemMetric, timeTaken)
klog.Infof("Processing latency %s", timeTaken)
klog.Infof("Processing latency %f", timeTaken)
}

ra6.workqueue.Forget(obj)
Expand Down

0 comments on commit ba8554d

Please sign in to comment.