Skip to content

Commit 9609bea

Browse files
deployment properties won't be saved in properties editor. AB#2081553
1 parent 3c13c4e commit 9609bea

File tree

1 file changed

+1
-1
lines changed
  • PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-springcloud/src/main/java/com/microsoft/azure/toolkit/intellij/springcloud/properties

1 file changed

+1
-1
lines changed

PluginsAndFeatures/azure-toolkit-for-intellij/azure-intellij-plugin-springcloud/src/main/java/com/microsoft/azure/toolkit/intellij/springcloud/properties/SpringCloudAppPropertiesEditor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,9 @@ private void save() {
115115
this.setEnabled(false);
116116
this.formConfig.applyTo(this.draft);
117117
AzureTaskManager.getInstance().runInBackground("Saving updates", () -> {
118-
this.draft.commit();
119118
final SpringCloudDeployment deployment = this.draft.getActiveDeployment();
120119
Optional.ofNullable(deployment).filter(AbstractAzResource::isDraft).ifPresent(d -> ((SpringCloudDeploymentDraft) d).commit());
120+
this.draft.commit();
121121
});
122122
}
123123

0 commit comments

Comments
 (0)