Skip to content

Add missing options to member types#2056

Merged
jtopjian merged 1 commit intogophercloud:masterfrom
mtneug:add-mission-member-opts
Nov 23, 2020
Merged

Add missing options to member types#2056
jtopjian merged 1 commit intogophercloud:masterfrom
mtneug:add-mission-member-opts

Conversation

@mtneug
Copy link
Copy Markdown
Contributor

@mtneug mtneug commented Nov 13, 2020

For #2055

This adds Backup, MonitorAddress, MonitorPort and Tags to member types.

Links to the line numbers/files in the OpenStack source code that support the code in this PR:

CreateMemberOpts

Documentation
Code

UpdateMemberOpts

Documentation
Code

BatchUpdateMemberOpts

Documentation
Code

@coveralls
Copy link
Copy Markdown

coveralls commented Nov 13, 2020

Coverage Status

Coverage remained the same at 79.657% when pulling d205415 on mtneug:add-mission-member-opts into 0859f65 on gophercloud:master.

@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Nov 13, 2020

Build succeeded.

Copy link
Copy Markdown
Contributor

@jtopjian jtopjian left a comment

Choose a reason for hiding this comment

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

@alex Thank you for submitting this. I've left one question.

@mtneug mtneug force-pushed the add-mission-member-opts branch from e739ce0 to d205415 Compare November 22, 2020 13:20
@theopenlab-ci
Copy link
Copy Markdown

theopenlab-ci bot commented Nov 22, 2020

Build succeeded.

Copy link
Copy Markdown
Contributor

@jtopjian jtopjian left a comment

Choose a reason for hiding this comment

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

Thank you for working on this. I've noted one small change, but I can fix this post-merge.

edit: I have no idea why Github auto-corrected my at reply to "Alex" and not @mtneug.


// An alternate IP address used for health monitoring a backend member.
MonitorAddress string `json:"monitor_address,omitempty"`
MonitorAddress *string `json:"monitor_address,omitempty"`
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.

Sorry - this can stay string.

It's only in the UpdateMemberOpts and UpdateMemberOpts where it needs to be *string.

@jtopjian jtopjian merged commit 46b2ac9 into gophercloud:master Nov 23, 2020
@mtneug mtneug deleted the add-mission-member-opts branch November 24, 2020 01:26
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.

3 participants