Fixed docker file, fixed doco

This commit is contained in:
Mike Farah 2020-11-19 22:53:05 +11:00
parent 8e1ce4ca70
commit 9674acf684
2 changed files with 3 additions and 3 deletions

View File

@ -22,4 +22,4 @@ LABEL version=${VERSION}
WORKDIR /workdir
ENTRYPOINT [/usr/bin/yq]
ENTRYPOINT /usr/bin/yq

View File

@ -6,7 +6,7 @@ import (
var assignOperatorScenarios = []expressionScenario{
{
description: "Update parent to be the child value",
description: "Update node to be the child value",
document: `{a: {b: {g: foof}}}`,
expression: `.a |= .b`,
expected: []string{
@ -14,7 +14,7 @@ var assignOperatorScenarios = []expressionScenario{
},
},
{
description: "Update to be the sibling value",
description: "Update node to be the sibling value",
document: `{a: {b: child}, b: sibling}`,
expression: `.a = .b`,
expected: []string{