summaryrefslogtreecommitdiffhomepage
path: root/tools/unitctl
diff options
context:
space:
mode:
authorGabor Javorszky <g.javorszky@f5.com>2024-05-17 11:25:03 +0100
committerGabor Javorszky <gabor@javorszky.co.uk>2024-05-20 16:58:33 +0100
commitb91073e5b958d227c283654f26189f1457d43809 (patch)
treeb9d5146ae4a6795bc6b2f8b4b6acb011f83a0237 /tools/unitctl
parent4e884d9ecce90e262ea2a8dd6fa53f6d5dce011e (diff)
downloadunit-b91073e5b958d227c283654f26189f1457d43809.tar.gz
unit-b91073e5b958d227c283654f26189f1457d43809.tar.bz2
tools/unitctl: Replace format! with .to_string()
Diffstat (limited to 'tools/unitctl')
-rw-r--r--tools/unitctl/unitctl/src/cmd/instances.rs2
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(),
})
}
}