mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-08-23 22:26:23 +00:00
changed sub_command to sub_console
This commit is contained in:
Vendored
+2
-2
@@ -11,13 +11,13 @@ class EnvSubConsole(cmd2.Cmd):
|
||||
def __init__(self, env):
|
||||
super(EnvSubConsole, self).__init__()
|
||||
self.env = env
|
||||
self.prompt = self.env.get_prompt(sub_command="env")
|
||||
self.prompt = self.env.get_prompt(sub_console="env")
|
||||
|
||||
def do_auth(self, arg):
|
||||
AuthSubConsole(self.env).cmdloop()
|
||||
|
||||
def postcmd(self, stop, line):
|
||||
self.prompt = self.env.get_prompt(sub_command="env")
|
||||
self.prompt = self.env.get_prompt(sub_console="env")
|
||||
if stop:
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user