Skip to content

Commit

Permalink
[FIXED JENKINS-43704] add separator to the VMCloud name and revert ch…
Browse files Browse the repository at this point in the history
…anges with only blank lines
  • Loading branch information
juniwang committed May 23, 2017
1 parent 19413ef commit 9543eb8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/main/java/com/microsoft/azure/vmagent/AzureVMAgent.java
Expand Up @@ -259,6 +259,9 @@ public Localizable getCleanUpReason() {
return cleanUpReason;
}

/**
* @param cleanUpReason
*/
private void setCleanUpAction(CleanUpAction cleanUpAction) {
// Translate a default cleanup action into what we want for a particular
// node
Expand Down
Expand Up @@ -250,7 +250,7 @@ public static boolean isDeploymentAlreadyOccupied(String errorMessage) {
* @return Name of the cloud
*/
public static String getCloudName(final String subscriptionId, final String resourceGroupName) {
return Constants.AZURE_CLOUD_PREFIX + subscriptionId + resourceGroupName;
return Constants.AZURE_CLOUD_PREFIX + subscriptionId + "-" + resourceGroupName;
}

/**
Expand Down

0 comments on commit 9543eb8

Please sign in to comment.