Skip to content

Commit

Permalink
fix: Fix typo ("MongDB")
Browse files Browse the repository at this point in the history
An user-facing echo_info message in the upgrade commands rendered
MongoDB as "MongDB". Trivial fix.
  • Loading branch information
fghaas authored and regisb committed Apr 1, 2022
1 parent 5aa1d53 commit baf7d03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tutor/commands/upgrade/k8s.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)
Expand Down Expand Up @@ -77,7 +77,7 @@ def upgrade_from_juniper(config: Config) -> None:
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."
)
Expand Down
4 changes: 2 additions & 2 deletions tutor/commands/upgrade/local.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."
)
Expand Down Expand Up @@ -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."
)
Expand Down

0 comments on commit baf7d03

Please sign in to comment.