Reduce logging level from error to warning if "/proc/sys/net/ipv4/ip_local_port_range" proc file in not accessible.
Docker-DCO-1.1-Signed-off-by: Vishnu Kannan <vishnuk@google.com> (github: vishh)
This commit is contained in:
parent
2ab105e9fe
commit
39d49ba7ba
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ func init() {
|
|||
|
||||
file, err := os.Open(portRangeKernelParam)
|
||||
if err != nil {
|
||||
log.Errorf("Failed to read %s kernel parameter: %v", portRangeKernelParam, err)
|
||||
log.Warnf("Failed to read %s kernel parameter: %v", portRangeKernelParam, err)
|
||||
return
|
||||
}
|
||||
var start, end int
|
||||
|
|
Loading…
Add table
Reference in a new issue