We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 97374fd + 1de7a2b commit 03db091Copy full SHA for 03db091
operator/src/main/resources/scripts/modelInImage.sh
@@ -633,7 +633,7 @@ diff_model() {
633
# Get partial models for sanity check for forbidden attribute change
634
local SERVER_OR_SERVERTEMPLATES_NAMES
635
SERVER_OR_SERVERTEMPLATES_NAMES=$(jq '{ topology: { Server: (.topology.Server | with_entries(.value = {})),
636
- ServerTemplate: (if .topology.ServerTemplate then (.topology.ServerTemplate | with_entries(.value = {})) else empty end)
+ ServerTemplate: (if .topology.ServerTemplate then (.topology.ServerTemplate | with_entries(.value = {})) else {} end)
637
}} | if .topology.ServerTemplate == {} then del(.topology.ServerTemplate) else . end' $2)
638
rc=$?
639
if [ $rc -ne 0 ] ; then
0 commit comments