Created
September 29, 2015 14:21
-
-
Save stevekuznetsov/3cd39dea1e92620d0fc9 to your computer and use it in GitHub Desktop.
bash woes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ wait_for_command "oc get imagestream openldap --template='{{with $tags := .status.tags}}{{with $event := index $tags 0}}{{$event.tag}}{{end}}{{end}}' | grep latest" $((60*TIME_SEC)) | |
test/extended/authentication.sh: line 63: tags: unbound variable | |
$ wait_for_command 'oc get imagestream openldap --template="{{with $tags := .status.tags}}{{with $event := index $tags 0}}{{$event.tag}}{{end}}{{end}}" | grep latest' $((60*TIME_SEC)) | |
test/extended/../../hack/util.sh: line 198: tags: unbound variable | |
$ wait_for_command 'tags= && event= && oc get imagestream openldap --template="{{with $tags := .status.tags}}{{with $event := index $tags 0}}{{$event.tag}}{{end}}{{end}}" | grep latest' $((60*TIME_SEC)) | |
error: error parsing template {{with := .status.tags}}{{with := index 0}}{{.tag}}{{end}}{{end}}, template: output:1: unexpected ":=" in with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment