Revert "Update runc to 1.0.0"
This commit is contained in:
2
vendor/github.com/opencontainers/runc/libcontainer/logs/logs.go
generated
vendored
2
vendor/github.com/opencontainers/runc/libcontainer/logs/logs.go
generated
vendored
@@ -85,7 +85,7 @@ func ConfigureLogging(config Config) error {
|
||||
if config.LogPipeFd > 0 {
|
||||
logrus.SetOutput(os.NewFile(uintptr(config.LogPipeFd), "logpipe"))
|
||||
} else if config.LogFilePath != "" {
|
||||
f, err := os.OpenFile(config.LogFilePath, os.O_CREATE|os.O_WRONLY|os.O_APPEND|os.O_SYNC, 0o644)
|
||||
f, err := os.OpenFile(config.LogFilePath, os.O_CREATE|os.O_WRONLY|os.O_APPEND|os.O_SYNC, 0644)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user