2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-04-13 04:11:31 +00:00

Suppress scary message from apiclient when asked to just do -f.

This commit is contained in:
Jarrod Johnson
2025-04-02 11:10:33 -04:00
parent b21d8b75e0
commit b1ba1720b9

View File

@@ -499,6 +499,7 @@ if __name__ == '__main__':
except Exception as e:
print(f"fix_vswitch() error: {e}")
sys.argv.remove('-f')
sys.exit(0)
usejson = False
if '-j' in sys.argv:
usejson = True