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:
Vishnu Kannan 2015-03-17 17:39:17 +00:00
parent 2ab105e9fe
commit 39d49ba7ba
1 changed files with 1 additions and 1 deletions

View File

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