Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #838 Add virtualbox deprecation notice #839

Merged
merged 1 commit into from
Nov 25, 2019

Conversation

gbraad
Copy link
Contributor

@gbraad gbraad commented Nov 25, 2019

Fixes #838 Adds a deprecation notice when the vbox driver is used.

@@ -37,6 +38,7 @@ func getDriverOptions(machineConfig config.MachineConfig) interface{} {
switch machineConfig.VMDriver {

case "virtualbox":
output.Outln("Virtualbox support is deprecated and will be removed in the next release.")
Copy link
Member

Choose a reason for hiding this comment

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

Instead of output.Outln I would use logging.Warn so that in the output it atleast show a warning to the user about this deprecation.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was considering this... If you think this is better, I'll change

@gbraad
Copy link
Contributor Author

gbraad commented Nov 25, 2019

Updated to use logging.Warn()

@@ -39,6 +40,7 @@ func getDriverOptions(machineConfig config.MachineConfig) interface{} {
switch machineConfig.VMDriver {

case "virtualbox":
logging.Warn("Virtualbox support is deprecated and will be removed in the next release.")
Copy link
Member

Choose a reason for hiding this comment

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

👍

@praveenkumar praveenkumar merged commit 48c6831 into crc-org:master Nov 25, 2019
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.

Remove Virtualbox support (deprecated)
3 participants