Skip to content

Commit

Permalink
fix: const CloudProviderAzure instead of string literal
Browse files Browse the repository at this point in the history
  • Loading branch information
VAveryanov8 committed Dec 12, 2024
1 parent 60c0cb7 commit 8abffa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloudmeta/azure.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func (azure *AzureMetadata) Metadata(ctx context.Context) (InstanceMetadata, err
return InstanceMetadata{}, errors.New("azure vmSize is empty")
}
return InstanceMetadata{
CloudProvider: "azure",
CloudProvider: CloudProviderAzure,
InstanceType: vmSize,
}, nil
}
Expand Down

0 comments on commit 8abffa1

Please sign in to comment.