Merge pull request #707 from Random-Liu/fix-log-output

Fix a log output.
This commit is contained in:
Lantao Liu 2018-03-28 16:18:58 -07:00 committed by GitHub
commit f99f0be5ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -102,7 +102,7 @@ func (c *criService) portForward(id string, port int32, stream io.ReadWriteClose
logrus.WithError(err).Errorf("Failed to copy port forward input for %q port %d", id, port) logrus.WithError(err).Errorf("Failed to copy port forward input for %q port %d", id, port)
} }
in.Close() in.Close()
logrus.Debugf("Finish copy port forward input for %q port %d: %v", id, port) logrus.Debugf("Finish copy port forward input for %q port %d", id, port)
}() }()
if err := cmd.Run(); err != nil { if err := cmd.Run(); err != nil {