Skip to content

Commit

Permalink
Fixed scale_down without target
Browse files Browse the repository at this point in the history
  • Loading branch information
Razz4780 committed Dec 14, 2023
1 parent 09964a0 commit bbbeafb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/+scale-down-ide.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed config verification in IDE context when the config does not specify the target but uses the `scale_down` feature.
1 change: 1 addition & 0 deletions mirrord/config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ impl LayerConfig {
}

if self.feature.copy_target.scale_down
&& !context.ide
&& !matches!(self.target.path, Some(Target::Deployment(..)))
{
return Err(ConfigError::Conflict(
Expand Down

0 comments on commit bbbeafb

Please sign in to comment.