Skip to content

Commit b34faa9

Browse files
committed
style: collapse multi-line log statements in validation steps
- Collapse multi-line info! macro calls to single lines in cloud_init.rs - Collapse multi-line info! macro calls to single lines in docker.rs - Improves code readability and consistency
1 parent 3c4837b commit b34faa9

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/steps/validation/cloud_init.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ impl ValidateCloudInitCompletionStep {
3232
/// - Critical for ensuring the system is ready for further configuration
3333
/// - Checks both cloud-init status and completion markers
3434
pub async fn execute(&self) -> Result<(), RemoteActionError> {
35-
info!(
36-
component = "cloud_init",
37-
"Validating cloud-init completion"
38-
);
35+
info!(component = "cloud_init", "Validating cloud-init completion");
3936

4037
let cloud_init_validator = CloudInitValidator::new(self.ssh_connection.clone());
4138

src/steps/validation/docker.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,7 @@ impl ValidateDockerInstallationStep {
3232
/// validation may be skipped gracefully
3333
/// - The validation checks both Docker version and daemon status
3434
pub async fn execute(&self) -> Result<(), RemoteActionError> {
35-
info!(
36-
component = "docker",
37-
"Validating Docker installation"
38-
);
35+
info!(component = "docker", "Validating Docker installation");
3936

4037
let docker_validator = DockerValidator::new(self.ssh_connection.clone());
4138

0 commit comments

Comments
 (0)