File tree Expand file tree Collapse file tree 2 files changed +2
-24
lines changed
core/src/main/targetconfigs Expand file tree Collapse file tree 2 files changed +2
-24
lines changed Original file line number Diff line number Diff line change 1
- # Copyright (c) 2020, Oracle Corporation and/or its affiliates.
1
+ # Copyright (c) 2020, 2021, Oracle Corporation and/or its affiliates.
2
2
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3
3
#
4
4
# ------------
@@ -60,13 +60,3 @@ def __cleanup_topology(model):
60
60
for delthis in ['ServerStart' ]:
61
61
if server_templates [server_template ].has_key (delthis ):
62
62
del server_templates [server_template ][delthis ]
63
- else :
64
- topology ['ServerTemplate' ] = {}
65
- server_templates = topology ['ServerTemplate' ]
66
- if topology .has_key ('Cluster' ):
67
- clusters = topology ['Cluster' ]
68
- for cluster in clusters :
69
- server_templates [cluster ] = {}
70
- server_template = server_templates [cluster ]
71
- server_template ['Cluster' ] = cluster
72
- server_template ['AutoMigrationEnabled' ] = False
Original file line number Diff line number Diff line change 1
- # Copyright (c) 2020, Oracle Corporation and/or its affiliates.
1
+ # Copyright (c) 2020, 2021, Oracle Corporation and/or its affiliates.
2
2
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
3
3
#
4
4
# ------------
@@ -56,15 +56,3 @@ def __cleanup_topology(model):
56
56
for delthis in ['ServerStart' ]:
57
57
if server_templates [server_template ].has_key (delthis ):
58
58
del server_templates [server_template ][delthis ]
59
- else :
60
- topology ['ServerTemplate' ] = {}
61
- server_templates = topology ['ServerTemplate' ]
62
- if topology .has_key ('Cluster' ):
63
- clusters = topology ['Cluster' ]
64
- for cluster in clusters :
65
- server_templates [cluster ] = {}
66
- server_template = server_templates [cluster ]
67
- server_template ['Cluster' ] = cluster
68
- server_template ['AutoMigrationEnabled' ] = False
69
-
70
-
You can’t perform that action at this time.
0 commit comments