Skip to content

Commit

Permalink
Merge pull request #306 from kjsanger/fix/remove-unnecessary-checksum
Browse files Browse the repository at this point in the history
Fix invalid error message when listing checksums across a collection
  • Loading branch information
kjsanger authored Sep 27, 2024
2 parents 6b299ae + d41772e commit 0ae63d8
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/operations.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,11 +318,6 @@ json_t *baton_json_dispatch_op(rodsEnv *env, rcComm_t *conn, json_t *envelope,
else if (str_equals(op, JSON_LIST_OP, MAX_STR_LEN)) {
result = baton_json_list_op(env, conn, target, &args_copy, error);
if (error->code != 0) goto finally;

if (args_copy.flags & PRINT_CHECKSUM) {
result = add_checksum_json_object(conn, result, error);
if (error->code != 0) goto finally;
}
}
else if (str_equals(op, JSON_METAMOD_OP, MAX_STR_LEN)) {
result = baton_json_metamod_op(env, conn, target, &args_copy, error);
Expand Down

0 comments on commit 0ae63d8

Please sign in to comment.