File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
model/src/main/java/oracle/kubernetes/weblogic/domain/model Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ public ServerSpec getAdminServerSpec() {
186
186
}
187
187
188
188
private EffectiveConfigurationFactory getEffectiveConfigurationFactory () {
189
- return spec .getEffectiveConfigurationFactory (getResourceVersion ());
189
+ return spec .getEffectiveConfigurationFactory (apiVersion , getResourceVersion ());
190
190
}
191
191
192
192
private String getResourceVersion () {
Original file line number Diff line number Diff line change @@ -219,8 +219,9 @@ private AdminServer createAdminServer() {
219
219
}
220
220
221
221
@ SuppressWarnings ("unused" )
222
- EffectiveConfigurationFactory getEffectiveConfigurationFactory (String resourceVersionLabel ) {
223
- return new V2EffectiveConfigurationFactory ();
222
+ EffectiveConfigurationFactory getEffectiveConfigurationFactory (
223
+ String apiVersion , String resourceVersionLabel ) {
224
+ return new CommonEffectiveConfigurationFactory ();
224
225
}
225
226
226
227
/**
@@ -640,7 +641,7 @@ public List<Cluster> getClusters() {
640
641
return clusters ;
641
642
}
642
643
643
- class V2EffectiveConfigurationFactory implements EffectiveConfigurationFactory {
644
+ class CommonEffectiveConfigurationFactory implements EffectiveConfigurationFactory {
644
645
@ Override
645
646
public ServerSpec getAdminServerSpec () {
646
647
return new AdminServerSpecCommonImpl (DomainSpec .this , adminServer );
You can’t perform that action at this time.
0 commit comments