Skip to content

Commit

Permalink
golint
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-henglu committed Nov 20, 2023
1 parent 225e435 commit 34c75f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ func (c *GenerateCommand) generate(apiPaths []swagger.ApiPath) int {
for _, azapiDefinition := range azapiDefinitionsAll {
azureResourceType := azapiDefinition.AzureResourceType
// To avoid the case that there are multiple resource types with the same name but different casing
for resourceType, _ := range azapiDefinitionByResourceType {
for resourceType := range azapiDefinitionByResourceType {
if strings.EqualFold(resourceType, azureResourceType) {
azureResourceType = resourceType
}
Expand Down

0 comments on commit 34c75f7

Please sign in to comment.