Skip to content

Commit

Permalink
Add leo destroy-runner cloud aliases for compatibility (#736)
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2b3bfa0 authored Feb 1, 2023
1 parent 65612e5 commit 4a4c75e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/leo/destroyrunner/destroyrunner.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ func (o *Options) Run(cmd *cobra.Command, args []string, cloud *common.Cloud) er
return aws.ResourceMachineDelete(cmd.Context(), d, nil)
case common.ProviderGCP:
return gcp.ResourceMachineDelete(cmd.Context(), d, nil)
case common.ProviderAZ:
case common.ProviderAZ, "azure":
return azure.ResourceMachineDelete(cmd.Context(), d, nil)
case common.ProviderK8S:
case common.ProviderK8S, "kubernetes":
return kubernetes.ResourceMachineDelete(cmd.Context(), d, nil)
}

Expand Down

0 comments on commit 4a4c75e

Please sign in to comment.