mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-08-23 22:26:23 +00:00
fixed adding __str__ to cloud type
This commit is contained in:
@@ -27,6 +27,9 @@ class Cloud:
|
||||
def __init__(self, name):
|
||||
self.name = name
|
||||
|
||||
def __str__(self):
|
||||
return self.name
|
||||
|
||||
class UnknownCloud(Cloud):
|
||||
def __init__(self):
|
||||
super(UnknownCloud, self).__init__("Unknown Cloud")
|
||||
Reference in New Issue
Block a user