diff options
author | initard <alex.solomes@softwareag.com> | 2021-11-26 15:30:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-26 15:30:42 +0000 |
commit | 07052edcb05d176f565db421b04d5f2453abf590 (patch) | |
tree | 3e7f0bbc28435aad40ed5c9b51d26afc12589589 /Cargo.lock | |
parent | 47c52a679d8e0ca6c63c693cf1e21eeccd02230c (diff) |
[CIT-659] restart device local operation (#591)
* [CIT-659] operation status rename
Signed-off-by: Alex <solo@softwareag.com>
* [CIT-659] OperationStatus rename
Signed-off-by: Alex <solo@softwareag.com>
* [CIT-659] adding new structs to lib import
Signed-off-by: Alex <solo@softwareag.com>
* [CIT-659] restart operation implementation
Signed-off-by: Alex <solo@softwareag.com>
* [CIT-659] restart operation check (WIP)
Signed-off-by: Alex <solo@softwareag.com>
* [CIT-659] wip
Signed-off-by: Alex <solo@softwareag.com>
* [CIT-659] restart operation check when /run/tedge_agent_restart persists
after operation
Signed-off-by: Alex <solo@softwareag.com>
* [CIT-659] stash merge
Signed-off-by: initard <solo@softwareag.com>
* [CIT-659] restart operation refactoring, - chrono dependency
Signed-off-by: initard <solo@softwareag.com>
* [CIT-659] removed package feature, made file creation more explicit
Signed-off-by: initard <solo@softwareag.com>
* [CIT-659] dealing with some unwraps and error handling
Signed-off-by: initard <solo@softwareag.com>
* [CIT-659] reverting changes to operation_logs + error handling
Signed-off-by: initard <solo@softwareag.com>
* [CIT-659] changed operation from echo 6 to init 6
Signed-off-by: initard <solo@softwareag.com>
* [CIT-659] fixing restart check logic
Signed-off-by: initard <solo@softwareag.com>
* [CIT-659] refactored error handling and added unit
test for /run/tedge_agent_restart
Signed-off-by: initard <solo@softwareag.com>
* [CIT-659] refactoring of tests
Signed-off-by: initard <solo@softwareag.com>
* [CIT-659] ignored failed test
Signed-off-by: initard <solo@softwareag.com>
Co-authored-by: Alex <solo@softwareag.com>
Diffstat (limited to 'Cargo.lock')
-rw-r--r-- | Cargo.lock | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -418,7 +418,7 @@ dependencies = [ "num-integer", "num-traits", "serde", - "time", + "time 0.1.43", "winapi", ] @@ -1034,7 +1034,7 @@ dependencies = [ "http", "mime", "sha-1", - "time", + "time 0.1.43", ] [[package]] @@ -2682,7 +2682,9 @@ dependencies = [ "tedge_utils", "tempfile", "thiserror", + "time 0.3.5", "tokio", + "tokio-test", "toml", "tracing", ] @@ -2903,6 +2905,16 @@ dependencies = [ ] [[package]] +name = "time" +version = "0.3.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "41effe7cfa8af36f439fac33861b66b049edc6f9a32331e2312660529c1c24ad" +dependencies = [ + "itoa", + "libc", +] + +[[package]] name = "tinytemplate" version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -3515,5 +3527,5 @@ dependencies = [ "crc32fast", "flate2", "thiserror", - "time", + "time 0.1.43", ] |