Skip to content

Commit

Permalink
Add region and datacenter to add_mapped_common_server_data
Browse files Browse the repository at this point in the history
Summary:
pzmarzly noticed this in D50738259:

`ServerData` enum has members for region and DC, but `add_mapped_common_server_data` doesn't fill them, even though it has access to them via fbwhoami

Reviewed By: vjt

Differential Revision: D50790587

fbshipit-source-id: 738487a092192f568027354b49680c3eb6bac73f
  • Loading branch information
Sergey Kozlov authored and facebook-github-bot committed Nov 1, 2023
1 parent 2837a3c commit 3458ecf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shed/scuba_sample/src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ pub enum ServerData {
Hostname,
/// Hostname scheme of the server
HostnameScheme,
/// Datacenter Region
/// Datacenter Region (e.g. sweden)
Region,
/// Datacenter prefix
/// Datacenter (e.g. lla1)
Datacenter,
/// Tier of the service
Tier,
Expand Down

0 comments on commit 3458ecf

Please sign in to comment.