Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Remove node-health #9119

Merged
merged 6 commits into from
Jul 18, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Remove _legacy_ntp_servers
  • Loading branch information
amaury1093 committed Jul 17, 2018
commit 3fc2411e88382423bfbccb1ee08f2e6d2d916218
6 changes: 2 additions & 4 deletions parity/cli/mod.rs
Original file line number Diff line number Diff line change
@@ -1074,8 +1074,8 @@ usage! {
"--dapps-path=[PATH]",
"Specify directory where dapps should be installed.",

ARG arg_ntp_servers: (Option<String>) = None, or |c: &Config| c.misc.as_ref()?._legacy_ntp_servers.clone().map(|vec| vec.join(",")),
"--ntp-servers=[HOSTS]",
ARG arg_ntp_servers: (Option<String>) = None, or |_| None,
"--ntp-servers=[HOSTS]",
"Does nothing; checking if clock is sync with NTP servers is now done on the UI.",
}
}
@@ -1355,7 +1355,6 @@ struct Misc {
color: Option<bool>,
ports_shift: Option<u16>,
unsafe_expose: Option<bool>,
_legacy_ntp_servers: Option<Vec<String>>,
}

#[derive(Default, Debug, PartialEq, Deserialize)]
@@ -2029,7 +2028,6 @@ mod tests {
color: Some(true),
ports_shift: Some(0),
unsafe_expose: Some(false),
_legacy_ntp_servers: None,
}),
whisper: Some(Whisper {
enabled: Some(true),