diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2020-12-11 12:43:04 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2020-12-11 12:43:17 +0100 |
commit | f204f854980a17d0fc89b6d1a2753bb19dcab478 (patch) | |
tree | dcf806aff7b26584071e98d2c75c16d361274ff1 /src/commands/build.rs | |
parent | ce6f9d77c80849d11b442cf4c6783ec972456521 (diff) |
Rename for consistency: deny_images -> denied_images
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Diffstat (limited to 'src/commands/build.rs')
-rw-r--r-- | src/commands/build.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands/build.rs b/src/commands/build.rs index a46166d..5aae1bb 100644 --- a/src/commands/build.rs +++ b/src/commands/build.rs @@ -218,8 +218,8 @@ pub async fn build(repo_root: &Path, } } - if let Some(denylist) = pkg.deny_on_images() { - if denylist.iter().any(|denied| image_name == *denied) { + if let Some(deniedlist) = pkg.denied_images() { + if deniedlist.iter().any(|denied| image_name == *denied) { return Err(anyhow!("Package {} {} is not allowed to be built on {}", pkg.name(), pkg.version(), image_name)) } } |