mirror of
https://github.com/rancher/rke.git
synced 2025-09-01 23:16:22 +00:00
Update to Golang 1.11
This commit is contained in:
committed by
Alena Prokharchyk
parent
1639bcdbd6
commit
22a339ea33
@@ -386,7 +386,7 @@ func GetContainerLogsStdoutStderr(ctx context.Context, dClient *client.Client, c
|
||||
var containerLog string
|
||||
clogs, logserr := ReadContainerLogs(ctx, dClient, containerName, follow, tail)
|
||||
if logserr != nil {
|
||||
logrus.Debug("logserr: %v", logserr)
|
||||
logrus.Debugf("logserr: %v", logserr)
|
||||
return containerLog, fmt.Errorf("Failed to get gather logs from container [%s]: %v", containerName, logserr)
|
||||
}
|
||||
defer clogs.Close()
|
||||
|
Reference in New Issue
Block a user