Update containerd 591e52c504.

Signed-off-by: Lantao Liu <lantaol@google.com>
This commit is contained in:
Lantao Liu
2019-04-05 11:39:34 -07:00
parent e8e3b9425b
commit bf112b3c2b
151 changed files with 36842 additions and 10424 deletions

View File

@@ -0,0 +1,17 @@
// +build !appengine,!js,!windows
package logrus
import (
"io"
"os"
)
func checkIfTerminal(w io.Writer) bool {
switch v := w.(type) {
case *os.File:
return isTerminal(int(v.Fd()))
default:
return false
}
}