mirror of
https://github.com/jangraefen/hcloud-pricing-exporter
synced 2024-11-10 05:54:15 +00:00
Improve error message for missing pricings
This commit is contained in:
parent
f92d993002
commit
11cb5dc150
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue