mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-05 19:47:53 +00:00
agent: Remove use of legacy constants
Fix clippy error ``` error: usage of a legacy numeric constant ``` by swapping `std::i32::<MIN/MAX>` for `i32::<MIN/MAX>` Signed-off-by: stevenhorsman <steven@uk.ibm.com>
This commit is contained in:
parent
6008fd56a1
commit
ca87aca1a6
@ -1065,7 +1065,7 @@ mod tests {
|
|||||||
|
|
||||||
let logger = slog::Logger::root(slog::Discard, o!());
|
let logger = slog::Logger::root(slog::Discard, o!());
|
||||||
|
|
||||||
let test_pids = [std::i32::MIN, -1, 0, 1, std::i32::MAX];
|
let test_pids = [i32::MIN, -1, 0, 1, i32::MAX];
|
||||||
|
|
||||||
for test_pid in test_pids {
|
for test_pid in test_pids {
|
||||||
let mut s = Sandbox::new(&logger).unwrap();
|
let mut s = Sandbox::new(&logger).unwrap();
|
||||||
|
Loading…
Reference in New Issue
Block a user