fix/nanocld: init container #4880
Triggered via pull request
September 24, 2024 13:31
Status
Success
Total duration
23m 28s
Artifacts
–
Annotations
2 warnings
match can be simplified with `.unwrap_or_default()`:
bin/nanocl/src/config.rs#L49
warning: match can be simplified with `.unwrap_or_default()`
--> bin/nanocl/src/config.rs:49:5
|
49 | / match serde_yaml::from_str::<UserConfig>(&s) {
50 | | Ok(config) => config,
51 | | Err(_) => UserConfig::default(),
52 | | }
| |_____^ help: replace it with: `serde_yaml::from_str::<UserConfig>(&s).unwrap_or_default()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_unwrap_or_default
= note: `#[warn(clippy::manual_unwrap_or_default)]` on by default
|
ubuntu_test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, docker/setup-buildx-action@v2, actions/cache@v3, codecov/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|