Fixing style issues.
This commit is contained in:
parent
b50188273a
commit
d49a6e01de
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) {
|
||||
|
||||
// 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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue