Fixing style issues.

This commit is contained in:
Renan DelValle 2019-03-14 15:01:58 -07:00
parent 826fa6acde
commit 950d1346bf
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9

View file

@ -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
}