Skip to content

Commit

Permalink
fix: use darwin instead of mac for kubernetes.io/os label (#941)
Browse files Browse the repository at this point in the history
Signed-off-by: Tuan Anh Tran <[email protected]>
  • Loading branch information
tuananh authored Dec 8, 2021
1 parent a4d7826 commit 460b66e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cloudprovider/fake/instancetype.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ func NewInstanceType(options InstanceTypeOptions) *InstanceType {
options.architecture = "amd64"
}
if len(options.operatingSystems) == 0 {
options.operatingSystems = sets.NewString("linux", "windows", "mac")
options.operatingSystems = sets.NewString("linux", "windows", "darwin")
}
if options.cpu.IsZero() {
options.cpu = resource.MustParse("4")
Expand Down

0 comments on commit 460b66e

Please sign in to comment.