diff options
author | notgne2 | 2020-10-08 18:13:26 -0700 |
---|---|---|
committer | notgne2 | 2020-10-08 18:14:47 -0700 |
commit | 518f7f5b4f1db83cab61941ab8887b0df76ce8d8 (patch) | |
tree | f33d3ebdf76681e1881bbe4d8a6bcd6b5577c072 /src/main.rs | |
parent | 3a92593bf9c4ca07a2b09888e4a3f7dff6c9c510 (diff) |
Update documentation
Diffstat (limited to '')
-rw-r--r-- | src/main.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/main.rs b/src/main.rs index 04d7868..b28a520 100644 --- a/src/main.rs +++ b/src/main.rs @@ -349,20 +349,6 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> { hostname: opts.hostname, }; - match (cmd_overrides.purity(), deploy_flake.node, deploy_flake.profile) { - (utils::OverridePurity::ErrorProfile, _, None) => good_panic!( - "You have specified an override not suitible for deploying to multiple profiles, please specify your target profile explicitly" - ), - (utils::OverridePurity::Error, None, _) => good_panic!( - "You have specified an override not suitible for deploying to multiple nodes, please specify your target node explicitly" - ), - - (utils::OverridePurity::Warn, None, _) => warn!( - "Certain overrides you have provided might be dangerous when used on multiple nodes or profiles, be cautious" - ), - _ => (), - }; - let supports_flakes = test_flake_support().await?; let data = |