Remove unnecessary confirm prompt
I'm not sure what value this confirm checks adds. Besides this is not helpful when we want to drive this tool via a scripted heat template for example and causes the deploy to pause needing human interaction. Change-Id: I541ca2769c21305eb5fee4acc1a382970f326268
This commit is contained in:
parent
cf2268b8c5
commit
b468632c1b
|
@ -15,7 +15,6 @@
|
|||
"""
|
||||
|
||||
import datetime
|
||||
from six import moves
|
||||
import uuid
|
||||
|
||||
import argparse
|
||||
|
@ -89,12 +88,6 @@ def get_parser():
|
|||
|
||||
|
||||
def conversion():
|
||||
confirm = moves.input("This tool is used for converting the combination "
|
||||
"alarms to composite alarms, please type 'yes' to "
|
||||
"confirm: ")
|
||||
if confirm != 'yes':
|
||||
print("Alarm conversion aborted!")
|
||||
return
|
||||
args = get_parser().parse_args()
|
||||
conf = service.prepare_service()
|
||||
conn = storage.get_connection_from_config(conf)
|
||||
|
|
Loading…
Reference in New Issue