Warnf -> Debugf so that it doesn't interfere with output

pull/3660/head
Thomas Stromberg 2019-02-14 20:12:34 -08:00
parent 7dd7e5417d
commit 07fc64fbe1
1 changed files with 2 additions and 2 deletions

View File

@ -145,12 +145,12 @@ func pidState(pid int) (state.State, error) {
return state.Error, err
}
if p == nil {
log.Warnf("hyperkit pid missing from process table, err=%v", err)
log.Debugf("hyperkit pid %d missing from process table", pid)
return state.Stopped, nil
}
// hyperkit or com.docker.hyper
if !strings.Contains(p.Executable(), "hyper") {
log.Warnf("pid %d is stale, and is being used by %s", pid, p.Executable())
log.Debugf("pid %d is stale, and is being used by %s", pid, p.Executable())
return state.Stopped, nil
}
return state.Running, nil