Skip to content
Snippets Groups Projects
Commit 66a66fa7 authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

cfgupgrade: Add confirmation message


A message will be given instead of just dropping the user back to the
prompt in case of a successful upgrade.

[…]
documentation formats). Continue with upgrading configuration?
y/[n]/?: y
Configuration successfully upgraded for version 2.5.0~beta1.
root@master:~#

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent b845c8a1
No related branches found
No related tags found
No related merge requests found
......@@ -248,6 +248,9 @@ def main():
del cfg
logging.info("File loaded successfully")
cli.ToStderr("Configuration successfully upgraded for version %s.",
constants.RELEASE_VERSION)
if __name__ == "__main__":
main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment