From 287ff70ba13863d9352796d2452bfb494c1ab985 Mon Sep 17 00:00:00 2001 From: Vallari Agrawal Date: Wed, 4 Feb 2026 20:52:29 +0530 Subject: [PATCH] ceph.in: Add session_id to poll cmds Signed-off-by: Vallari Agrawal --- src/ceph.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ceph.in b/src/ceph.in index 6c8a1e944ca..b9bb82c4f00 100755 --- a/src/ceph.in +++ b/src/ceph.in @@ -29,6 +29,7 @@ import stat import sys import time import platform +import uuid from typing import Dict, List, Sequence, Tuple @@ -593,6 +594,7 @@ def do_command(parsed_args, target, cmdargs, sigdict, inbuf, verbose): # Set extra options for polling commands only: if valid_dict.get('poll', False): valid_dict['width'] = Termsize().cols + valid_dict['session_id'] = str(uuid.uuid4()) while True: try: # Only print the header for polling commands -- 2.47.3