Merge pull request #83556 from zouyee/kubeadminfo

Complete output of docker info
This commit is contained in:
Kubernetes Prow Robot 2019-10-08 20:00:04 -07:00 committed by GitHub
commit 33809f24e6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ func (d *DockerValidator) Validate(spec SysSpec) ([]error, []error) {
func (d *DockerValidator) unmarshalDockerInfo(b []byte, info *dockerInfo) error {
if err := json.Unmarshal(b, &info); err != nil {
return errors.Wrap(err, "could not unmarshal the JSON output of 'docker info'")
return errors.Wrapf(err, "could not unmarshal the JSON output of 'docker info':\n%s\n", b)
}
return nil
}