diff options
Diffstat (limited to 'func/overlord/func_command.py')
-rw-r--r-- | func/overlord/func_command.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/func/overlord/func_command.py b/func/overlord/func_command.py index 4cec8a0..8bc6b7c 100644 --- a/func/overlord/func_command.py +++ b/func/overlord/func_command.py @@ -55,10 +55,10 @@ class FuncCommandLine(command.Command): if len(args) < 2: print "see the func manpage for usage" sys.exit(411) - server_string = args[0] + minion_string = args[0] # try to be clever about this for now - if client.isServer(server_string) or self._isGlob(server_string): - self.server_spec = server_string + if client.is_minion(minion_string) or self._isGlob(minion_string): + self.server_spec = minion_string args.pop(0) # if it doesn't look like server, assume it # is a sub command? that seems wrong, what about |