e8df9992433ee5d594ddd68d45155c1f724c0314
java/com.sap.sailing.landscape.ui/src/com/sap/sailing/landscape/ui/client/LandscapeManagementPanel.java
| ... | ... | @@ -323,8 +323,15 @@ public class LandscapeManagementPanel extends SimplePanel { |
| 323 | 323 | applicationReplicaSetToArchive -> archiveApplicationReplicaSet(stringMessages, |
| 324 | 324 | regionsTable.getSelectionModel().getSelectedObject(), applicationReplicaSetToArchive)); |
| 325 | 325 | applicationReplicaSetsActionColumn.addAction(ApplicationReplicaSetsImagesBarCell.ACTION_UPGRADE, |
| 326 | - applicationReplicaSetToUpgrade -> upgradeApplicationReplicaSet(stringMessages, |
|
| 327 | - regionsTable.getSelectionModel().getSelectedObject(), Collections.singleton(applicationReplicaSetToUpgrade))); |
|
| 326 | + applicationReplicaSetToUpgrade -> { |
|
| 327 | + if (applicationReplicaSetToUpgrade.isArchive()) { |
|
| 328 | + GWT.log("Replica set: " + applicationReplicaSetToUpgrade.getName()); |
|
| 329 | + } else { |
|
| 330 | + upgradeApplicationReplicaSet(stringMessages, |
|
| 331 | + regionsTable.getSelectionModel().getSelectedObject(), Collections.singleton(applicationReplicaSetToUpgrade)); |
|
| 332 | + } |
|
| 333 | + } |
|
| 334 | + ); |
|
| 328 | 335 | applicationReplicaSetsActionColumn.addAction(ApplicationReplicaSetsImagesBarCell.ACTION_DEFINE_LANDING_PAGE, |
| 329 | 336 | applicationReplicaSetForWhichToDefineLandingPage -> defineLandingPage(stringMessages, |
| 330 | 337 | regionsTable.getSelectionModel().getSelectedObject(), applicationReplicaSetForWhichToDefineLandingPage)); |
java/com.sap.sse.landscape.aws/src/com/sap/sse/landscape/aws/AwsLandscape.java
| ... | ... | @@ -185,7 +185,7 @@ public interface AwsLandscape<ShardingKey> extends Landscape<ShardingKey> { |
| 185 | 185 | * private key; see also {@link #getKeyPairInfo(Region, String)} |
| 186 | 186 | * @param userData |
| 187 | 187 | * zero or more strings representing the user data to be passed to the instance; multiple strings will be |
| 188 | - * concatenated, using the line separator to join them. The instance is able to read the user data throuh |
|
| 188 | + * concatenated, using the line separator to join them. The instance is able to read the user data through |
|
| 189 | 189 | * the AWS SDK installed on the instance. |
| 190 | 190 | */ |
| 191 | 191 | default <HostT extends AwsInstance<ShardingKey>> HostT launchHost( |