diff options
author | Gabor Javorszky <g.javorszky@f5.com> | 2024-05-17 11:25:03 +0100 |
---|---|---|
committer | Gabor Javorszky <gabor@javorszky.co.uk> | 2024-05-20 16:58:33 +0100 |
commit | b91073e5b958d227c283654f26189f1457d43809 (patch) | |
tree | b9d5146ae4a6795bc6b2f8b4b6acb011f83a0237 /tools | |
parent | 4e884d9ecce90e262ea2a8dd6fa53f6d5dce011e (diff) | |
download | unit-b91073e5b958d227c283654f26189f1457d43809.tar.gz unit-b91073e5b958d227c283654f26189f1457d43809.tar.bz2 |
tools/unitctl: Replace format! with .to_string()
Diffstat (limited to 'tools')
-rw-r--r-- | tools/unitctl/unitctl/src/cmd/instances.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/unitctl/unitctl/src/cmd/instances.rs b/tools/unitctl/unitctl/src/cmd/instances.rs index a030f7d3..ee58f697 100644 --- a/tools/unitctl/unitctl/src/cmd/instances.rs +++ b/tools/unitctl/unitctl/src/cmd/instances.rs @@ -51,7 +51,7 @@ pub(crate) async fn cmd(args: InstanceArgs) -> Result<(), UnitctlError> { if !sock_path.is_dir() { return Err(UnitctlError::ControlSocketError{ kind: ControlSocketErrorKind::General, - message: format!("user must specify a directory of UNIX socket directory"), + message: "user must specify a directory of UNIX socket directory".to_string(), }) } } |