func instanceConfigDefaults(ic providers.InstanceConfig) providers.InstanceConfig { if ic.RegionID == "" { ic.RegionID = regionAmsterdamID } if ic.ImageID == "" { ic.ImageID = coreosStableID } if ic.TypeID == "" { ic.TypeID = plan768MBID } return ic }
func (vp *scalewayProvider) instanceConfigDefaults(ic providers.InstanceConfig) providers.InstanceConfig { if ic.RegionID == "" { ic.RegionID = vp.Region } if ic.ImageID == "" { ic.ImageID = dockerImageID } if ic.TypeID == "" { ic.TypeID = commercialTypeVC1 } return ic }
func instanceConfigDefaults(ic providers.InstanceConfig) providers.InstanceConfig { if ic.RegionID == "" { ic.RegionID = "local" } if ic.ImageID == "" { ic.ImageID = "coreos-stable" } if ic.TypeID == "" { ic.TypeID = "n/a" } return ic }