We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ec5bedc commit 6ece3feCopy full SHA for 6ece3fe
1 file changed
9.0.x/pipeline.yaml
@@ -172,7 +172,7 @@ spec:
172
#!/usr/bin/env bash
173
174
# Get the status of the ImageRegistry resource
175
- status=$(oc get config cluster -o jsonpath='{.items[0].status.conditions[?(@.type=="Available")].Reason}')
+ status=$(oc get config -o jsonpath='{.items[0].status.conditions[?(@.type=="Available")].reason}')
176
177
if [[ "$status" == "Ready" ]]; then
178
echo "OpenShift Container Registry is ready"
0 commit comments