Skip to content

Conversation

blink1073
Copy link
Member

No description provided.

Copy link
Contributor

@FGasper FGasper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks reasonable to me at a glance.

Thank you!

mo_config = mo_home / "orchestration.config"
mdb_binaries = Path(opts.mongodb_binaries)
config = dict(releases=dict(default=normalize_path(mdb_binaries)))
mo_config.write_text(json.dumps(config, indent=2))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be useful here to detect whether this overwrites an existing (nonidentical) configuration and warn if so. That way if someone forgets the --custom-mo-config parameter, the log will guide the way to success.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's the problem though, we create it every time we run, so when running locally it would error out.

@blink1073
Copy link
Member Author

@FGasper have you had a chance to test these changes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants