Skip to content

fix(instance): use IPNet type for security group rule ip_range #240

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

Merged
merged 2 commits into from
Nov 14, 2019

Conversation

kindermoumoute
Copy link
Contributor

No description provided.

updateResponse, err := instanceAPI.UpdateSecurityGroupRule(&UpdateSecurityGroupRuleRequest{
Zone: zone,
SecurityGroupID: group.ID,
SecurityGroupRuleID: rule.ID,
Action: &action,
IPRange: scw.StringPtr("1.1.1.1/32"),
IPRange: &scw.IPNet{*ipNet},

Choose a reason for hiding this comment

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

composites: github.com./scaleway/scaleway-sdk-go/scw.IPNet composite literal uses unkeyed fields (from govet)

QuentinBrosse
QuentinBrosse previously approved these changes Nov 14, 2019
Copy link
Contributor

@QuentinBrosse QuentinBrosse left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@QuentinBrosse QuentinBrosse left a comment

Choose a reason for hiding this comment

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

LGTM

@kindermoumoute kindermoumoute merged commit 937624f into master Nov 14, 2019
@kindermoumoute kindermoumoute deleted the 239 branch November 14, 2019 15:17
@remyleone remyleone added the instance Instance issues, bugs and feature requests label Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
instance Instance issues, bugs and feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants