mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-25 02:18:08 +00:00
typofixes - https://github.com/vlajos/misspell_fixer
Suspicious sections: plugins/mail/postfix_mail_stats recieved.label plugins/nginx/nginx_vhost_traffic
This commit is contained in:
parent
8e18199f16
commit
fba800ae52
119 changed files with 176 additions and 176 deletions
|
@ -22,9 +22,9 @@ try:
|
|||
from nova import flags
|
||||
from nova import utils
|
||||
except ImportError:
|
||||
succesful_import = False
|
||||
successful_import = False
|
||||
else:
|
||||
succesful_import = True
|
||||
successful_import = True
|
||||
|
||||
|
||||
|
||||
|
@ -72,12 +72,12 @@ if __name__ == '__main__':
|
|||
if sys.argv[1] == "config":
|
||||
print_config()
|
||||
elif sys.argv[1] == "autoconf":
|
||||
if not succesful_import:
|
||||
if not successful_import:
|
||||
print 'no (failed import nova module)'
|
||||
sys.exit(0)
|
||||
else:
|
||||
print 'yes'
|
||||
elif succesful_import:
|
||||
elif successful_import:
|
||||
utils.default_flagfile()
|
||||
flags.FLAGS(sys.argv)
|
||||
print_values()
|
||||
|
|
|
@ -23,9 +23,9 @@ try:
|
|||
from nova import utils
|
||||
from nova.compute import power_state
|
||||
except ImportError:
|
||||
succesful_import = False
|
||||
successful_import = False
|
||||
else:
|
||||
succesful_import = True
|
||||
successful_import = True
|
||||
|
||||
|
||||
class InstanceState(object):
|
||||
|
@ -114,10 +114,10 @@ if __name__ == '__main__':
|
|||
elif argv[1] == 'suggest':
|
||||
print_suggest()
|
||||
elif argv[1] == 'autoconf':
|
||||
if not succesful_import:
|
||||
if not successful_import:
|
||||
print 'no (failed import nova module)'
|
||||
sys.exit(0)
|
||||
else:
|
||||
print 'yes'
|
||||
elif succesful_import:
|
||||
elif successful_import:
|
||||
print_values(metric)
|
||||
|
|
|
@ -23,9 +23,9 @@ try:
|
|||
from nova import utils
|
||||
from nova.db.sqlalchemy.session import get_session
|
||||
except ImportError:
|
||||
succesful_import = False
|
||||
successful_import = False
|
||||
else:
|
||||
succesful_import = True
|
||||
successful_import = True
|
||||
|
||||
def print_config():
|
||||
global states
|
||||
|
@ -52,12 +52,12 @@ if __name__ == '__main__':
|
|||
if sys.argv[1] == "config":
|
||||
print_config()
|
||||
elif sys.argv[1]=="autoconf" :
|
||||
if not succesful_import:
|
||||
if not successful_import:
|
||||
print 'no (failed import nova module)'
|
||||
sys.exit(0)
|
||||
else:
|
||||
print 'yes'
|
||||
elif succesful_import:
|
||||
elif successful_import:
|
||||
utils.default_flagfile()
|
||||
flags.FLAGS(sys.argv)
|
||||
print_values()
|
||||
|
|
|
@ -23,9 +23,9 @@ try:
|
|||
from nova import utils
|
||||
from nova.db.sqlalchemy.session import get_session
|
||||
except ImportError:
|
||||
succesful_import = False
|
||||
successful_import = False
|
||||
else:
|
||||
succesful_import = True
|
||||
successful_import = True
|
||||
|
||||
|
||||
def print_config():
|
||||
|
@ -64,12 +64,12 @@ if __name__ == '__main__':
|
|||
if sys.argv[1] == "config":
|
||||
print_config()
|
||||
elif sys.argv[1] == "autoconf":
|
||||
if not succesful_import:
|
||||
if not successful_import:
|
||||
print 'no (failed import nova module)'
|
||||
sys.exit(0)
|
||||
else:
|
||||
print 'yes'
|
||||
elif succesful_import:
|
||||
elif successful_import:
|
||||
utils.default_flagfile()
|
||||
flags.FLAGS(sys.argv)
|
||||
print_values()
|
||||
|
|
|
@ -18,9 +18,9 @@ try:
|
|||
from nova import flags
|
||||
from nova import utils
|
||||
except ImportError:
|
||||
succesful_import = False
|
||||
successful_import = False
|
||||
else:
|
||||
succesful_import = True
|
||||
successful_import = True
|
||||
|
||||
services = ['nova-compute', 'nova-volume', 'nova-scheduler', 'nova-vncproxy', 'nova-network', 'nova-cert', 'nova-console', 'nova-consoleauth']
|
||||
|
||||
|
@ -76,11 +76,11 @@ if __name__ == '__main__':
|
|||
if sys.argv[1] == "config":
|
||||
print_config()
|
||||
elif sys.argv[1] == "autoconf":
|
||||
if not succesful_import:
|
||||
if not successful_import:
|
||||
print 'no (failed import nova module]'
|
||||
else:
|
||||
print 'yes'
|
||||
elif succesful_import:
|
||||
elif successful_import:
|
||||
utils.default_flagfile()
|
||||
flags.FLAGS(sys.argv)
|
||||
print_values()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue