Skip to content

Commit

Permalink
rustfmt (#1661)
Browse files Browse the repository at this point in the history
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: clux <134092+clux@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and clux authored Dec 11, 2024
1 parent 9265aa2 commit 419442b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion kube-client/src/config/file_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,11 @@ users:
];

for file_name in files {
let path = PathBuf::from(format!("{}/src/config/test_data/{}", env!("CARGO_MANIFEST_DIR"), file_name));
let path = PathBuf::from(format!(
"{}/src/config/test_data/{}",
env!("CARGO_MANIFEST_DIR"),
file_name
));
let cfg = Kubeconfig::read_from(path).unwrap();
assert_eq!(cfg.clusters[0].name, "k3d-promstack");
assert_eq!(cfg.contexts[0].name, "k3d-promstack");
Expand Down

0 comments on commit 419442b

Please sign in to comment.