From baf7d03cf801a398a5aa48ea80af275df418e215 Mon Sep 17 00:00:00 2001 From: Florian Haas Date: Fri, 1 Apr 2022 10:11:16 +0200 Subject: [PATCH] fix: Fix typo ("MongDB") An user-facing echo_info message in the upgrade commands rendered MongoDB as "MongDB". Trivial fix. --- tutor/commands/upgrade/k8s.py | 4 ++-- tutor/commands/upgrade/local.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tutor/commands/upgrade/k8s.py b/tutor/commands/upgrade/k8s.py index 29d5b5b..3c9c229 100644 --- a/tutor/commands/upgrade/k8s.py +++ b/tutor/commands/upgrade/k8s.py @@ -30,7 +30,7 @@ def upgrade_from(context: Context, from_release: str) -> None: def upgrade_from_ironwood(config: Config) -> None: if not config["RUN_MONGODB"]: fmt.echo_info( - "You are not running MongDB (RUN_MONGODB=false). It is your " + "You are not running MongoDB (RUN_MONGODB=false). It is your " "responsibility to upgrade your MongoDb instance to v3.6. There is " "nothing left to do to upgrade from Ironwood." ) @@ -77,7 +77,7 @@ your MySQL database from v5.6 to v5.7. You should run something similar to: def upgrade_from_koa(config: Config) -> None: if not config["RUN_MONGODB"]: fmt.echo_info( - "You are not running MongDB (RUN_MONGODB=false). It is your " + "You are not running MongoDB (RUN_MONGODB=false). It is your " "responsibility to upgrade your MongoDb instance to v4.0. There is " "nothing left to do to upgrade to Lilac from Koa." ) diff --git a/tutor/commands/upgrade/local.py b/tutor/commands/upgrade/local.py index 353fbc5..5e8a54f 100644 --- a/tutor/commands/upgrade/local.py +++ b/tutor/commands/upgrade/local.py @@ -40,7 +40,7 @@ def upgrade_from_ironwood(context: click.Context, config: Config) -> None: if not config["RUN_MONGODB"]: fmt.echo_info( - "You are not running MongDB (RUN_MONGODB=false). It is your " + "You are not running MongoDB (RUN_MONGODB=false). It is your " "responsibility to upgrade your MongoDb instance to v3.6. There is " "nothing left to do to upgrade from Ironwood to Juniper." ) @@ -86,7 +86,7 @@ def upgrade_from_koa(context: click.Context, config: Config) -> None: click.echo(fmt.title("Upgrading from Koa")) if not config["RUN_MONGODB"]: fmt.echo_info( - "You are not running MongDB (RUN_MONGODB=false). It is your " + "You are not running MongoDB (RUN_MONGODB=false). It is your " "responsibility to upgrade your MongoDb instance to v4.0. There is " "nothing left to do to upgrade from Koa to Lilac." )