Skip to content

fix(instance): add ID suffix to organization field#861

Merged
Sh4d1 merged 3 commits intoscaleway:v2from
Sh4d1:APIGW-2079
Apr 14, 2020
Merged

fix(instance): add ID suffix to organization field#861
Sh4d1 merged 3 commits intoscaleway:v2from
Sh4d1:APIGW-2079

Conversation

@Sh4d1
Copy link
Copy Markdown
Contributor

@Sh4d1 Sh4d1 commented Apr 11, 2020

Signed-off-by: Patrik Cyvoct pcyvoct@scaleway.com

Signed-off-by: Patrik Cyvoct <pcyvoct@scaleway.com>
Comment thread internal/core/reflect.go Outdated
Signed-off-by: Patrik Cyvoct <pcyvoct@scaleway.com>
OrganizationID *string
}

c.ArgSpecs.GetByName(oldOrganizationFieldName).Name = newOrganizationFieldName
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: this line is duplicated in a lot of places, we could add a small function renameOrganizationIDArgSpec(c.ArgSpecs)

Signed-off-by: Patrik Cyvoct <pcyvoct@scaleway.com>
Copy link
Copy Markdown
Contributor

@kindermoumoute kindermoumoute left a comment

Choose a reason for hiding this comment

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

LGTM

@Sh4d1 Sh4d1 merged commit 56d434e into scaleway:v2 Apr 14, 2020
@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.

4 participants