mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Formatting the get_gateway() method in the CsDatabag.py file
This commit is contained in:
parent
3cfc4cff80
commit
595fa50b3b
@ -143,6 +143,7 @@ class CsCmdLine(CsDataBag):
|
||||
md5 = hashlib.md5()
|
||||
md5.update(passwd)
|
||||
return md5.hexdigest()
|
||||
|
||||
def get_gateway(self):
|
||||
if "gateway" in self.idata():
|
||||
return self.idata()['gateway']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user