File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
kubernetes/samples/scripts/domain-lifecycle Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/sh
2
- # Copyright (c) 2020, 2024 , Oracle and/or its affiliates.
2
+ # Copyright (c) 2020, 2025 , Oracle and/or its affiliates.
3
3
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4
4
#
5
5
@@ -980,7 +980,7 @@ getClusterResource() {
980
980
for clusterReference in ${clusterReferences} ; do
981
981
clusterNameFromReference=$( ${kubernetesCli} get cluster.v1.weblogic.oracle " ${clusterReference} " -n ${domainNamespace} -o json --ignore-not-found | jq -r .spec.clusterName)
982
982
if [ -z " ${clusterNameFromReference} " ]; then
983
- clusterNameFromReference=$( ${kubernetesCli} get cluster.vi .weblogic.oracle " ${clusterReference} " -n ${domainNamespace} -o json --ignore-not-found | jq -r .metadata.name)
983
+ clusterNameFromReference=$( ${kubernetesCli} get cluster.v1 .weblogic.oracle " ${clusterReference} " -n ${domainNamespace} -o json --ignore-not-found | jq -r .metadata.name)
984
984
fi
985
985
if [ " ${clusterNameFromReference} " == " ${clusterName} " ]; then
986
986
__clusterResource=$clusterReference
You can’t perform that action at this time.
0 commit comments