You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [ !-z"${weblogicDomainStorageReclaimPolicy}" ];then
133
+
case${weblogicDomainStorageReclaimPolicy}in
134
+
"Retain")
135
+
;;
136
+
"Delete")
137
+
if [ "${weblogicDomainStoragePath:0:5}"!="/tmp/" ];then
138
+
validationError "Invalid value for weblogicDomainStorageReclaimPolicy: ${weblogicDomainStorageReclaimPolicy} when weblogicDomainStoragePath is not /tmp/."
139
+
fi
140
+
;;
141
+
"Recycle")
142
+
;;
143
+
*)
144
+
validationError "Invalid value for weblogicDomainStorageReclaimPolicy: ${weblogicDomainStorageReclaimPolicy}. Valid values are Retain, Delete and Recycle."
145
+
;;
146
+
esac
147
+
fi
148
+
}
149
+
127
150
#
128
151
# Function to validate the weblogic domain storage type
129
152
#
@@ -134,7 +157,7 @@ function validateWeblogicDomainStorageType {
0 commit comments