mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
fix(appconfig): default omitted configuration profile type (#7037)
This commit is contained in:
1 parent
9be236e289
commit
9f0856c691
6 files changed
+80
-7
No files matched your search
@@ -252,7 +252,8 @@ public class AppConfigService {
|
||||
profile.setName((String) request.get("Name"));
|
||||
profile.setDescription((String) request.get("Description"));
|
||||
profile.setLocationUri((String) request.get("LocationUri"));
|
||||
profile.setType((String) request.get("Type"));
|
||||
String type = (String) request.get("Type");
|
||||
profile.setType(type == null && "hosted".equals(profile.getLocationUri()) ? "AWS.Freeform" : type);
|
||||
profileStore.put(profile.getId(), profile);
|
||||
return profile;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user