Fixing style issues.
This commit is contained in:
parent
826fa6acde
commit
950d1346bf
1 changed files with 2 additions and 2 deletions
|
@ -65,11 +65,11 @@ func (m *Monitor) JobUpdateStatus(updateKey aurora.JobUpdateKey,
|
||||||
timeout time.Duration) (aurora.JobUpdateStatus, error) {
|
timeout time.Duration) (aurora.JobUpdateStatus, error) {
|
||||||
|
|
||||||
// Minimal unit is the second, if it's below a second, multiply input by seconds
|
// 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
|
interval *= time.Second
|
||||||
}
|
}
|
||||||
|
|
||||||
if timeout < 1 * time.Second {
|
if timeout < 1*time.Second {
|
||||||
timeout *= time.Second
|
timeout *= time.Second
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue