Merge "Fixed some typos and error message"
This commit is contained in:
commit
96d27cd710
@ -62,7 +62,7 @@ func docFromRNode(rnode *yaml.RNode) (document.Document, error) {
|
||||
return nil, err
|
||||
}
|
||||
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
|
||||
}
|
||||
|
@ -66,6 +66,6 @@ following structure.
|
||||
bootMACAddress: {{ .macAddress }}
|
||||
{{ end -}}
|
||||
|
||||
`values` defines the substituion value as Map.
|
||||
`template` defines the template with placeholders to substitue the value from the
|
||||
`values` defines the substitution value as Map.
|
||||
`template` defines the template with placeholders to substitute the value from the
|
||||
values Map
|
||||
|
@ -1,4 +1,3 @@
|
||||
# toolbox-virsh image
|
||||
|
||||
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",
|
||||
errContains: "open foobar/my-script.sh: no such file or directory",
|
||||
configMap: &v1.ConfigMap{
|
||||
|
Loading…
Reference in New Issue
Block a user