Skip to content

Commit 5207bac

Browse files
committed
Updated for better logging.
Signed-off-by: dmatch01 <darroyo@us.ibm.com>
1 parent fd90ad1 commit 5207bac

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/controller/queuejob/queuejob_controller_ex.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1310,12 +1310,12 @@ func (qjm *XController) waitForPodCountUpdates(searchCond *arbv1.AppWrapperCondi
13101310
// Don't reserve resources if timeout is hit
13111311
if timeSinceDispatched.Microseconds() > timeoutMicroSeconds {
13121312
return false
1313-
klog.V(10).Infof("[waitForPodCountUpdates] Dispatch duration time %d microseconds has reached timeout value of %d ms",
1314-
timeSinceDispatched.Microseconds(), qjm.serverOption.DispatchResourceReservationTimeout)
1313+
klog.V(10).Infof("[waitForPodCountUpdates] Dispatch duration time %d microseconds has reached timeout value of %d microseconds",
1314+
timeSinceDispatched.Microseconds(), timeoutMicroSeconds)
13151315
}
13161316

1317-
klog.V(10).Infof("[waitForPodCountUpdates] Dispatch duration time %d microseconds has not reached timeout value of %d ms",
1318-
timeSinceDispatched.Microseconds(), qjm.serverOption.DispatchResourceReservationTimeout)
1317+
klog.V(10).Infof("[waitForPodCountUpdates] Dispatch duration time %d microseconds has not reached timeout value of %d microseconds",
1318+
timeSinceDispatched.Microseconds(), timeoutMicroSeconds)
13191319
return true
13201320
}
13211321

0 commit comments

Comments
 (0)