Fix typo in constant
This commit is contained in:
parent
bbdde9e3b2
commit
89676792bd
@ -121,11 +121,11 @@ type NetInfo struct {
|
||||
type CloudProvider string
|
||||
|
||||
const (
|
||||
GCE CloudProvider = "GCE"
|
||||
AWS = "AWS"
|
||||
Azure = "Azure"
|
||||
Baremetal = "Baremetal"
|
||||
UnkownProvider = "Unknown"
|
||||
GCE CloudProvider = "GCE"
|
||||
AWS = "AWS"
|
||||
Azure = "Azure"
|
||||
Baremetal = "Baremetal"
|
||||
UnknownProvider = "Unknown"
|
||||
)
|
||||
|
||||
type InstanceType string
|
||||
|
@ -66,7 +66,7 @@ func detectCloudProvider() info.CloudProvider {
|
||||
case onBaremetal():
|
||||
return info.Baremetal
|
||||
}
|
||||
return info.UnkownProvider
|
||||
return info.UnknownProvider
|
||||
}
|
||||
|
||||
func detectInstanceType(cloudProvider info.CloudProvider) info.InstanceType {
|
||||
|
Loading…
Reference in New Issue
Block a user