no wildcards in sea client

This commit is contained in:
l_samenv 2022-04-26 09:24:11 +02:00
parent 7ea4de02b4
commit b436eee810

View File

@ -65,6 +65,8 @@ class SeaManager(ServiceManager):
""" """
def do_cli(self, ins): def do_cli(self, ins):
if self.wildcard(ins):
raise UsageError('wildcards not allowed in sea cli')
try: try:
self.check_running(ins, 'sea') self.check_running(ins, 'sea')
except ServiceDown as e: except ServiceDown as e:
@ -75,6 +77,8 @@ class SeaManager(ServiceManager):
run_command('six -sea %s' % ins, wait=True) run_command('six -sea %s' % ins, wait=True)
def do_gui(self, ins='', *args): def do_gui(self, ins='', *args):
if ins and self.wildcard(ins):
raise UsageError('wildcards not allowed in sea gui')
if ins: if ins:
args = (ins,) + args args = (ins,) + args
if '-q' not in args: if '-q' not in args: