Improve error message for missing pricings

This commit is contained in:
Jan Gräfen 2021-03-06 12:10:22 +01:00
parent f92d993002
commit 11cb5dc150
2 changed files with 2 additions and 2 deletions

View file

@ -45,5 +45,5 @@ func findLBPricing(location *hcloud.Location, pricings []hcloud.LoadBalancerType
}
}
return nil, fmt.Errorf("no pricing found for location %s", location.Name)
return nil, fmt.Errorf("no load balancer pricing found for location %s", location.Name)
}

View file

@ -45,5 +45,5 @@ func findServerPricing(location *hcloud.Location, pricings []hcloud.ServerTypeLo
}
}
return nil, fmt.Errorf("no pricing found for location %s", location.Name)
return nil, fmt.Errorf("no server pricing found for location %s", location.Name)
}