Skip to content

Commit 5358aaa

Browse files
committed
dead code removal
1 parent d6b1ae1 commit 5358aaa

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

nexus/types/src/deployment/planning_input.rs

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,38 +1601,6 @@ pub struct PlanningInputBuilder {
16011601
}
16021602

16031603
impl PlanningInputBuilder {
1604-
/*
1605-
pub fn empty_input() -> PlanningInput {
1606-
// This empty input is known to be valid.
1607-
PlanningInput {
1608-
policy: Policy {
1609-
external_ips: ExternalIpPolicy::empty(),
1610-
target_boundary_ntp_zone_count: 0,
1611-
target_nexus_zone_count: 0,
1612-
target_internal_dns_zone_count: 0,
1613-
target_oximeter_zone_count: 0,
1614-
target_cockroachdb_zone_count: 0,
1615-
target_cockroachdb_cluster_version:
1616-
CockroachDbClusterVersion::POLICY,
1617-
target_crucible_pantry_zone_count: 0,
1618-
clickhouse_policy: None,
1619-
oximeter_read_policy: OximeterReadPolicy::new(1),
1620-
tuf_repo: TufRepoPolicy::initial(),
1621-
old_repo: TufRepoPolicy::initial(),
1622-
planner_config: PlannerConfig::default(),
1623-
},
1624-
internal_dns_version: Generation::new(),
1625-
external_dns_version: Generation::new(),
1626-
cockroachdb_settings: CockroachDbSettings::empty(),
1627-
sleds: BTreeMap::new(),
1628-
network_resources: OmicronZoneNetworkResources::new(),
1629-
ignore_impossible_mgs_updates_since: Utc::now(),
1630-
active_nexus_zones: BTreeSet::new(),
1631-
not_yet_nexus_zones: BTreeSet::new(),
1632-
}
1633-
}
1634-
*/
1635-
16361604
// TODO-john docs
16371605
pub fn new(
16381606
parent_blueprint: Arc<Blueprint>,

0 commit comments

Comments
 (0)