mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Bug 12565 - no check for correctness of the options given during cloud-setup-database steps
fix a typo
This commit is contained in:
parent
5dbe84e2ee
commit
436af31a01
@ -510,7 +510,7 @@ for example:
|
|||||||
self.info("Mysql server port:%s"%self.port, True)
|
self.info("Mysql server port:%s"%self.port, True)
|
||||||
|
|
||||||
def validateParameters():
|
def validateParameters():
|
||||||
if self.encryptiontype != 'file' or self.encryptiontype != 'web':
|
if self.encryptiontype != 'file' and self.encryptiontype != 'web':
|
||||||
self.errorAndExit('Wrong encryption type %s, --encrypt-type can only be "file" or "web'%self.encryptiontype)
|
self.errorAndExit('Wrong encryption type %s, --encrypt-type can only be "file" or "web'%self.encryptiontype)
|
||||||
|
|
||||||
#---------------------- option parsing and command line checks ------------------------
|
#---------------------- option parsing and command line checks ------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user