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