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

Remove creating Instance structs by URL alone #246

Merged
merged 4 commits into from
Apr 11, 2024

Conversation

jaroslaw-pietraszek-vml
Copy link
Contributor

No description provided.

@jaroslaw-pietraszek-vml jaroslaw-pietraszek-vml force-pushed the bugfix/fix-instance-location-mismatch branch from 90eeceb to a6ec9af Compare April 9, 2024 14:45
return *i
}

func (im *InstanceManager) NewLocalPublish() Instance {
i, _ := im.NewByURL(instance.URLLocalPublish)
parts := []string{instance.LocationLocal, string(instance.RoleAuthor)}
Copy link
Contributor

Choose a reason for hiding this comment

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

RolePublish! c'mon!

Copy link
Contributor

Choose a reason for hiding this comment

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

I will fix it

@krystian-panek-vmltech krystian-panek-vmltech merged commit cbc6f2f into main Apr 11, 2024
1 check passed
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