Skip to content

Commit

Permalink
Changed DeleteHostedService method
Browse files Browse the repository at this point in the history
Changed DeleteHostedService method
  • Loading branch information
ruslangabitov committed Nov 26, 2014
1 parent 3689d99 commit 515f3ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/vmClient/vmClient.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
azureXmlns = "http://schemas.microsoft.com/windowsazure"
azureDeploymentListURL = "services/hostedservices/%s/deployments"
azureHostedServiceListURL = "services/hostedservices"
azureHostedServiceURL = "services/hostedservices/%s"
deleteAzureHostedServiceURL = "services/hostedservices/%s?comp=media"
azureHostedServiceAvailabilityURL = "services/hostedservices/operations/isavailable/%s"
azureDeploymentURL = "services/hostedservices/%s/deployments/%s"
deleteAzureDeploymentURL = "services/hostedservices/%s/deployments/%s?comp=media"
Expand Down Expand Up @@ -174,7 +174,7 @@ func DeleteHostedService(dnsName string) error {
return err
}

requestURL := fmt.Sprintf(azureHostedServiceURL, dnsName)
requestURL := fmt.Sprintf(deleteAzureHostedServiceURL, dnsName)
requestId, err := azure.SendAzureDeleteRequest(requestURL)
if err != nil {
return err
Expand Down

0 comments on commit 515f3ec

Please sign in to comment.