mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 07:20:13 +00:00
Complete output of docker info
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
This commit is contained in:
parent
cd1fbf7cd4
commit
361f20c874
@ -74,7 +74,7 @@ func (d *DockerValidator) Validate(spec SysSpec) (error, error) {
|
|||||||
|
|
||||||
func (d *DockerValidator) unmarshalDockerInfo(b []byte, info *dockerInfo) error {
|
func (d *DockerValidator) unmarshalDockerInfo(b []byte, info *dockerInfo) error {
|
||||||
if err := json.Unmarshal(b, &info); err != nil {
|
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
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user