Skip to content

Conversation

@thaJeztah
Copy link
Member


  • pass the cluster as an argument instead of manually setting it after creating the router-options
  • remove the "opts" variable, to prevent it accidentally being used (with the assumption that's the value returned)
  • use a struct-literal for the returned options.

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@thaJeztah thaJeztah added status/2-code-review area/daemon Core Engine kind/refactor PR's that refactor, or clean-up code labels Jan 23, 2024
@thaJeztah thaJeztah added this to the 26.0.0 milestone Jan 23, 2024
@thaJeztah thaJeztah self-assigned this Jan 23, 2024
@thaJeztah thaJeztah force-pushed the cleanup_newRouterOptions branch from c979dcd to e323e8c Compare January 23, 2024 13:55
…leanup

- pass the cluster as an argument instead of manually setting it after
  creating the router-options
- remove the "opts" variable, to prevent it accidentally being used (with
  the assumption that's the value returned)
- use a struct-literal for the returned options.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah force-pushed the cleanup_newRouterOptions branch from e323e8c to c25773e Compare January 23, 2024 15:55
@thaJeztah thaJeztah marked this pull request as ready for review January 23, 2024 15:55
@thaJeztah thaJeztah requested a review from laurazard January 23, 2024 18:58
@thaJeztah
Copy link
Member Author

@laurazard @rumpl ptal

@thaJeztah thaJeztah merged commit ee6cbc5 into moby:master Jan 26, 2024
@thaJeztah thaJeztah deleted the cleanup_newRouterOptions branch January 26, 2024 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/daemon Core Engine kind/refactor PR's that refactor, or clean-up code status/2-code-review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants