Dedicated error message when relay does not support rotations
[lttng-tools.git] / src / bin / lttng-sessiond / cmd.c
index bdc6db89d5e9d303417f992ce2d12dbd4087ed7c..e0a8db9b2cc13a2b5c77407e0b14938fa565a587 100644 (file)
@@ -4406,7 +4406,7 @@ int cmd_rotate_session(struct ltt_session *session,
        if (session->consumer->type == CONSUMER_DST_NET &&
                        (session->consumer->relay_major_version == 2 &&
                        session->consumer->relay_minor_version < 11)) {
-               ret = -LTTNG_ERR_ROTATION_NOT_AVAILABLE;
+               ret = -LTTNG_ERR_ROTATION_NOT_AVAILABLE_RELAY;
                goto end;
        }
 
This page took 0.032408 seconds and 4 git commands to generate.