-
Notifications
You must be signed in to change notification settings - Fork 1.9k
bug 1664579 corrected command syntax #13572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The preview will be availble shortly at:
|
kalexand-rh
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As long as QE agrees, LGTM!
|
@xingxingxia PTAL cc: @xltian |
|
Sorry for delay due to holidays and later other work. |
|
In above command, {{}} pairs happen across lines. Must put each {{ and its matching }} in one line, below got: |
|
Note \n usage does not take effect. To get new line in the place, use new line in the exact place. Below is the correct usage |
|
/cherrypick enterprise-3.11 |
|
@sheriff-rh: new pull request created: #13688 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/cherrypick enterprise-3.10 |
|
@sheriff-rh: new pull request created: #13689 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/cherrypick enterprise-3.9 |
|
@sheriff-rh: new pull request created: #13691 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/cherrypick enterprise-3.7 |
|
@sheriff-rh: new pull request created: #13694 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/cherrypick enterprise-3.6 |
|
@sheriff-rh: new pull request created: #13695 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/cherrypick enterprise-3.5 |
|
@sheriff-rh: new pull request created: #13696 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/cherrypick enterprise-3.4 |
|
@sheriff-rh: new pull request created: #13697 DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
| '{{range $ii, $item := $tag.items}}{{if eq $item.image "'"${image_name}"\ | ||
| $'"}}{{$is.metadata.name}}:{{$tag.tag}} at position {{$ii}} out of {{len $tag.items}}\n'\ | ||
| '{{end}}{{end}}{{end}}{{end}}' | ||
| $ $ oc get is -n openshift -o go-template='{{range $isi, $is := .items}}{{range $ti, $tag := $is.status.tags}}{{range $ii, $item := $tag.items}}{{if eq $item.image "'$image_name'"}}{{$is.metadata.name}}:{{$tag.tag}} at position {{$ii}} out of {{len $tag.items}}{{end}}{{end}}{{end}}{{end}}' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
{{end}}{{end}}{{end}}{{end}}' # Before this place {{end}}{{end}}{{end}}{{end}}, use new line
As shown in above comment, need use new line before the place {{end}}{{end}}{{end}}{{end}}, otherwise the output is in one line:
ruby:2.5 at position 0 out of 1ruby:latest at position 0 out of 1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$ $ oc get
Also, two $ typed here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Totally missed that. Fixing now. Thanks @xingxingxia!
link to bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1664579
@xingxingxia PTAL.
@openshift/team-documentation need review please :)