Skip to content

Commit e387be9

Browse files
committed
Fix error message for topkeys parameter parsing
The wrong field name was returned Change-Id: Ibb740f6adf11469baaa5f8ed13e99c708092cf2d Reviewed-on: https://review.couchbase.org/c/kv_engine/+/239903 Reviewed-by: Paolo Cocchi <paolo.cocchi@couchbase.com> Tested-by: Build Bot <build@couchbase.com>
1 parent 44c1992 commit e387be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

daemon/ioctl.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ static cb::engine_errc ioctlSetTopkeysStart(Cookie& cookie,
349349
return cb::engine_errc::invalid_arguments;
350350
}
351351
} catch (const std::exception&) {
352-
cookie.setErrorContext("Failed to parse limit argument");
352+
cookie.setErrorContext("Failed to parse shards argument");
353353
return cb::engine_errc::invalid_arguments;
354354
}
355355
}

0 commit comments

Comments
 (0)