mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 06:56:29 +00:00
Add logging structs/file content to trace loglevel
This commit is contained in:
@@ -262,7 +262,7 @@ func pullImage(ctx context.Context, dClient *client.Client, hostname string, con
|
||||
continue
|
||||
}
|
||||
defer out.Close()
|
||||
if logrus.GetLevel() == logrus.DebugLevel {
|
||||
if logrus.GetLevel() == logrus.TraceLevel {
|
||||
io.Copy(os.Stdout, out)
|
||||
} else {
|
||||
io.Copy(ioutil.Discard, out)
|
||||
|
Reference in New Issue
Block a user