Skip to content

Commit

Permalink
Revert "rmk: Add CoreMode to RCCProfileConfig enum (#501)"
Browse files Browse the repository at this point in the history
This reverts commit 3fa68ce.
  • Loading branch information
racicLuka committed Mar 11, 2024
1 parent f8ab678 commit cab80a2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/bin/scheduler/setup/rcc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,6 @@ fn configure_rcc_profile(
) -> Result<(Vec<Suite>, HashMap<String, String>), Cancelled> {
match &global_config.rcc_config.profile_config {
RCCProfileConfig::Default => configure_default_rcc_profile(global_config, suites),
RCCProfileConfig::CoreMode => {
error!("The scheduler tried to configure the RCC profile even though the Robotmk Core mode is active.");
error!("This should never happen. Please open a GitHub issue!");
Err(Cancelled {})
}
RCCProfileConfig::Custom(custom_rcc_profile_config) => {
configure_custom_rcc_profile(custom_rcc_profile_config, global_config, suites)
}
Expand Down
1 change: 0 additions & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ pub struct RCCConfig {
#[derive(Clone, Debug, Deserialize, PartialEq, Serialize)]
pub enum RCCProfileConfig {
Default,
CoreMode,
Custom(CustomRCCProfileConfig),
}

Expand Down

0 comments on commit cab80a2

Please sign in to comment.