Whamcloud - gitweb
LU-8587 utils: Fix incorrect indenting in llapi_hsm_log_ct_progress
[fs/lustre-release.git] / lustre / utils / liblustreapi_hsm.c
index 6880ac5..345ab1b 100644 (file)
@@ -429,11 +429,12 @@ static int llapi_hsm_log_ct_progress(struct hsm_copyaction_private **phcp,
                        goto err;
        }
 
-       if (progress_type == CT_RUNNING)
+       if (progress_type == CT_RUNNING) {
                rc = llapi_json_add_item(&json_items, "current_bytes",
                                         LLAPI_JSON_BIGNUM, &current);
                if (rc < 0)
                        goto err;
+       }
 
 cancel:
        rc = llapi_json_add_item(&json_items, "event_type", LLAPI_JSON_STRING,