Skip to content

Commit

Permalink
fixes #6609
Browse files Browse the repository at this point in the history
  • Loading branch information
JochenRichter84 authored and tombuildsstuff committed May 25, 2020
1 parent 1eca0d9 commit c902e00
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -172,7 +172,7 @@ func resourceArmApiManagementApiVersionSetRead(d *schema.ResourceData, meta inte
}
resourceGroup := id.ResourceGroup
serviceName := id.Path["service"]
name := id.Path["api-version-sets"]
name := id.Path["apiVersionSets"]

resp, err := client.Get(ctx, resourceGroup, serviceName, name)
if err != nil {
Expand Down Expand Up @@ -211,7 +211,7 @@ func resourceArmApiManagementApiVersionSetDelete(d *schema.ResourceData, meta in
}
resourceGroup := id.ResourceGroup
serviceName := id.Path["service"]
name := id.Path["api-version-sets"]
name := id.Path["apiVersionSets"]

if resp, err := client.Delete(ctx, resourceGroup, serviceName, name, ""); err != nil {
if !utils.ResponseWasNotFound(resp) {
Expand Down

0 comments on commit c902e00

Please sign in to comment.