mirror of
https://github.com/minio/minio.git
synced 2025-07-26 00:40:08 -04:00
Do not print update message unless there is an update. (#2919)
This commit is contained in:
parent
6303f26330
commit
55f6828750
@ -192,9 +192,11 @@ func Main() {
|
|||||||
// because of network errors.
|
// because of network errors.
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
if updateMsg.Update {
|
||||||
console.Println(updateMsg)
|
console.Println(updateMsg)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user