Skip to content

Commit

Permalink
fix: use DC location name instead of DC name for Hetzner
Browse files Browse the repository at this point in the history
... while interpreting server region.

(DC == datacenter)
  • Loading branch information
vst committed Apr 27, 2024
1 parent c6093fd commit e8b56b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Clompse/Providers/Hetzner.hs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ toServer Hetzner.Server {..} =
, Types._serverState = toServerState serverStatus
, Types._serverCreatedAt = Just (Time.zonedTimeToUTC serverCreated)
, Types._serverProvider = Types.ProviderHetzner
, Types._serverRegion = Hetzner.datacenterName serverDatacenter
, Types._serverRegion = Hetzner.locationName . Hetzner.datacenterLocation $ serverDatacenter
, Types._serverType = Just (Hetzner.serverTypeDescription serverType)
}

Expand Down

0 comments on commit e8b56b8

Please sign in to comment.