Skip to content

Commit 777347c

Browse files
committed
use same command for both status updates
1 parent bc0172e commit 777347c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

9.0.x/pipeline.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ spec:
170170
params:
171171
- name: SCRIPT
172172
value: |
173-
status=$(oc get config -o jsonpath='{.items[0].status.conditions[?(@.type=="Available")].reason}')
173+
status=$(oc get configs.imageregistry.operator.openshift.io cluster -o jsonpath='{.status.conditions[?(@.type=="Available")].reason}')
174174
175175
TIMEOUT_SECONDS=300
176176
while [[ "$status" != "Ready" ]] && [[ $SECONDS -lt $TIMEOUT_SECONDS ]]; do

0 commit comments

Comments
 (0)