From 3b574341f2eab1f61b0a317f6358b3bd8c474677 Mon Sep 17 00:00:00 2001 From: mbecker20 Date: Wed, 11 Jan 2023 06:22:25 +0000 Subject: [PATCH] types 0.1.4 fix extra_args update diff --- Cargo.lock | 20 ++++++++++---------- core/Cargo.toml | 4 ++-- lib/types/Cargo.toml | 2 +- lib/types/src/diff.rs | 1 + 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 749cb43a6..54658b42d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -409,7 +409,7 @@ dependencies = [ "hmac", "jwt", "monitor_helpers 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "monitor_types 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "monitor_types 0.1.3", "mungos", "periphery_client", "serde", @@ -647,7 +647,7 @@ name = "db_client" version = "0.1.0" dependencies = [ "anyhow", - "monitor_types 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "monitor_types 0.1.3", "mungos", ] @@ -1492,7 +1492,7 @@ version = "0.1.2" dependencies = [ "anyhow", "futures-util", - "monitor_types 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "monitor_types 0.1.3", "reqwest", "serde", "serde_derive", @@ -1512,7 +1512,7 @@ dependencies = [ "bollard", "futures", "futures-util", - "monitor_types 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "monitor_types 0.1.3", "rand", "run_command", "serde", @@ -1533,7 +1533,7 @@ dependencies = [ "bollard", "futures", "futures-util", - "monitor_types 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "monitor_types 0.1.3", "rand", "run_command", "serde", @@ -1556,7 +1556,7 @@ dependencies = [ "envy", "futures-util", "monitor_helpers 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "monitor_types 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "monitor_types 0.1.3", "run_command", "serde", "serde_derive", @@ -1571,6 +1571,8 @@ dependencies = [ [[package]] name = "monitor_types" version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8d9ee441af164c77f15c6530be57e7a8b7f206702a6285ca2ff82505f1202b6" dependencies = [ "anyhow", "bollard", @@ -1587,9 +1589,7 @@ dependencies = [ [[package]] name = "monitor_types" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8d9ee441af164c77f15c6530be57e7a8b7f206702a6285ca2ff82505f1202b6" +version = "0.1.4" dependencies = [ "anyhow", "bollard", @@ -1844,7 +1844,7 @@ dependencies = [ "anyhow", "futures-util", "monitor_helpers 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "monitor_types 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "monitor_types 0.1.3", "reqwest", "serde", "serde_json", diff --git a/core/Cargo.toml b/core/Cargo.toml index 9a2e445b8..0f9933cdc 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -8,8 +8,8 @@ edition = "2021" [dependencies] # helpers = { package = "monitor_helpers", path = "../lib/helpers" } # types = { package = "monitor_types", path = "../lib/types" } -helpers = { package = "monitor_helpers", version = "0.1.1" } -types = { package = "monitor_types", version = "0.1.2" } +helpers = { package = "monitor_helpers", version = "0.1.2" } +types = { package = "monitor_types", version = "0.1.3" } db = { package = "db_client", path = "../lib/db_client" } periphery = { package = "periphery_client", path = "../lib/periphery_client" } axum_oauth2 = { path = "../lib/axum_oauth2" } diff --git a/lib/types/Cargo.toml b/lib/types/Cargo.toml index 5d1163956..8a78221df 100644 --- a/lib/types/Cargo.toml +++ b/lib/types/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "monitor_types" -version = "0.1.3" +version = "0.1.4" edition = "2021" authors = ["MoghTech"] description = "types for the mogh tech monitor" diff --git a/lib/types/src/diff.rs b/lib/types/src/diff.rs index 9eae7e100..72130a5a7 100644 --- a/lib/types/src/diff.rs +++ b/lib/types/src/diff.rs @@ -37,6 +37,7 @@ pub fn docker_run_args_diff_no_change(dra: &DockerRunArgsDiff) -> bool { && vec_diff_no_change(&dra.environment) && vec_diff_no_change(&dra.ports) && vec_diff_no_change(&dra.volumes) + && vec_diff_no_change(&dra.extra_args) && restart_mode_diff_no_change(&dra.restart) }