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

Fixes bug when colon character is in virtual machine name #43

Merged
merged 1 commit into from
Aug 4, 2023

Conversation

stmitt
Copy link
Contributor

@stmitt stmitt commented Aug 3, 2023

This fixes issue #38. The colon character is used as a separator in tart's share command.

@@ -61,6 +61,7 @@ public struct VirtualMachineResourcesServiceEphemeral: VirtualMachineResourcesSe
}

public func createResourcesIfNeeded() async throws {
return;
Copy link

Choose a reason for hiding this comment

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

The code underneath this return statement will never be executed anymore. Is this a line left in by accident after debugging?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, this was left in by accident. I removed the return statement.

@stmitt stmitt force-pushed the bugfix/replace-colons-in-vm-name branch from 1140776 to 48c0e54 Compare August 3, 2023 14:17
Copy link
Contributor

@simonbs simonbs left a comment

Choose a reason for hiding this comment

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

Thanks for looking into the issue and providing a fix! 🙏

@simonbs simonbs merged commit c84e740 into shapehq:main Aug 4, 2023
1 check passed
@stmitt stmitt deleted the bugfix/replace-colons-in-vm-name branch August 4, 2023 06:24
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.

None yet

3 participants