diff --git a/monitors.go b/monitors.go index ab00432..ec1825d 100644 --- a/monitors.go +++ b/monitors.go @@ -65,11 +65,11 @@ func (m *Monitor) JobUpdateStatus(updateKey aurora.JobUpdateKey, timeout time.Duration) (aurora.JobUpdateStatus, error) { // Minimal unit is the second, if it's below a second, multiply input by seconds - if interval < 1 * time.Second { + if interval < 1*time.Second { interval *= time.Second } - if timeout < 1 * time.Second { + if timeout < 1*time.Second { timeout *= time.Second }