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.
1 parent cc433fd commit fe21ab4Copy full SHA for fe21ab4
hub/src/main/java/cloud/katta/model/StorageProfileDtoWrapper.java
@@ -136,8 +136,7 @@ else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
136
137
public List<String> getRegions() {
138
if(proxy.getActualInstance() instanceof StorageProfileS3StaticDto) {
139
- // only STS
140
- return null;
+ return ((StorageProfileS3StaticDto) proxy.getActualInstance()).getRegions();
141
}
142
else if(proxy.getActualInstance() instanceof StorageProfileS3STSDto) {
143
return ((StorageProfileS3STSDto) proxy.getActualInstance()).getRegions();
0 commit comments