mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #83556 from zouyee/kubeadminfo
Complete output of docker info
This commit is contained in:
commit
33809f24e6
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user