Fix typo in constant

This commit is contained in:
derekwaynecarr 2016-03-08 13:00:16 -05:00
parent bbdde9e3b2
commit 89676792bd
2 changed files with 6 additions and 6 deletions

View File

@ -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

View File

@ -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 {