diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-08-06 09:41:02 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-08-06 09:41:02 +0300 |
commit | 6fc3ad8a6758bb6c764ba208d814c1ab82d764ac (patch) | |
tree | c7871da86dbb89792af674aeb336a830fe3d7005 /src/cmd | |
parent | e403fab2890cf33fc70bc9becf5e7fd6523008e5 (diff) | |
download | vmadm-6fc3ad8a6758bb6c764ba208d814c1ab82d764ac.tar.gz |
chore: fix small problems found by clippy
Sponsored-by: author
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/cloud_init.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/cloud_init.rs b/src/cmd/cloud_init.rs index b266eb4..dc9af66 100644 --- a/src/cmd/cloud_init.rs +++ b/src/cmd/cloud_init.rs @@ -31,7 +31,7 @@ pub fn cloud_init(specs: &[Specification], dirname: &Path) -> Result<(), CloudIn dirname.display() ); - let init = CloudInitConfig::from(&spec)?; + let init = CloudInitConfig::from(spec)?; debug!("creating directory {}", dirname.display()); std::fs::create_dir_all(&dirname)?; |