This commit is contained in:
Haoran Wang 2017-12-16 01:16:29 +00:00 committed by GitHub
commit 05b133486a
2 changed files with 3 additions and 1 deletions

View file

@ -509,7 +509,7 @@ func main() {
if graceful && strings.Contains(strings.ToLower(err.Error()), "use of closed network connection") {
err = nil
} else {
logrus.Errorf("Failed to serve grpc grpc request: %v", err)
logrus.Errorf("Failed to serve grpc request: %v", err)
}
}
}()

View file

@ -24,6 +24,7 @@ const (
cgroupManager = oci.CgroupfsCgroupsManager
lockPath = "/run/crio.lock"
containerExitsDir = oci.ContainerExitsDir
defaultRegistry = "docker.io"
)
// Config represents the entire set of configuration values that can be set for
@ -302,6 +303,7 @@ func DefaultConfig() *Config {
PauseCommand: pauseCommand,
SignaturePolicyPath: "",
ImageVolumes: ImageVolumesMkdir,
Registries: []string{defaultRegistry},
},
NetworkConfig: NetworkConfig{
NetworkDir: cniConfigDir,