Fixed some typos and error message
Change-Id: I640a00fda787339ba79350348d89a2922ee6a6ab
This commit is contained in:
parent
eb9ac97ce2
commit
4fa9aa65f8
@ -62,7 +62,7 @@ func docFromRNode(rnode *yaml.RNode) (document.Document, error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
if len(collection) == 0 {
|
if len(collection) == 0 {
|
||||||
return nil, errors.New("Error while converting RNode to Document: empty document bundle")
|
return nil, errors.New("error while converting RNode to Document: empty document bundle")
|
||||||
}
|
}
|
||||||
return collection[0], nil
|
return collection[0], nil
|
||||||
}
|
}
|
||||||
|
@ -66,6 +66,6 @@ following structure.
|
|||||||
bootMACAddress: {{ .macAddress }}
|
bootMACAddress: {{ .macAddress }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
`values` defines the substituion value as Map.
|
`values` defines the substitution value as Map.
|
||||||
`template` defines the template with placeholders to substitue the value from the
|
`template` defines the template with placeholders to substitute the value from the
|
||||||
values Map
|
values Map
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
# toolbox-virsh image
|
# toolbox-virsh image
|
||||||
|
|
||||||
This image based on the airshipctl toolbox krm-function. It allows to execute libvirt-client(virsh) inside a container.
|
This image based on the airshipctl toolbox krm-function. It allows to execute libvirt-client(virsh) inside a container.
|
||||||
|
|
||||||
|
@ -74,7 +74,7 @@ func TestCmdRun(t *testing.T) {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "WorkDir that doesnt' exist",
|
name: "WorkDir that doesn't exist",
|
||||||
workdir: "foobar",
|
workdir: "foobar",
|
||||||
errContains: "open foobar/my-script.sh: no such file or directory",
|
errContains: "open foobar/my-script.sh: no such file or directory",
|
||||||
configMap: &v1.ConfigMap{
|
configMap: &v1.ConfigMap{
|
||||||
|
Loading…
Reference in New Issue
Block a user