Fix wrong labels for server metric

This commit is contained in:
Jan Gräfen 2021-03-06 19:11:57 +01:00
parent 7985448175
commit 2b456762e6

View file

@ -10,7 +10,7 @@ var _ Fetcher = &server{}
// NewServer creates a new fetcher that will collect pricing information on servers.
func NewServer(pricing *PriceProvider) Fetcher {
return &server{newBase(pricing, "server", "location")}
return &server{newBase(pricing, "server", "location", "type")}
}
type server struct {