Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Fix flux ListImagesWithOptions v10 #1146

Merged
merged 4 commits into from
Jun 15, 2018
Merged

Fix flux ListImagesWithOptions v10 #1146

merged 4 commits into from
Jun 15, 2018

Conversation

aaron7
Copy link
Contributor

@aaron7 aaron7 commented Jun 15, 2018

From #1129

  • Use an interface for dispatching ListImages and ListServices to the rpc clients
  • Add RegisterDaemonV10 constant

@aaron7 aaron7 requested a review from squaremo June 15, 2018 14:02
Copy link
Member

@squaremo squaremo left a comment

Choose a reason for hiding this comment

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

LGTM, coffee time!

return listImagesWithOptions(ctx, p, opts)
}

type listImagesWithOptionsClient interface {

This comment was marked as abuse.

@aaron7 aaron7 merged commit b7b1a51 into master Jun 15, 2018
@aaron7 aaron7 deleted the flux-fix-list-images-v10 branch June 15, 2018 14:18
// listImagesWithOptions is called by ListImagesWithOptions so we can use an
// interface to dispatch .ListImages() and .ListServices() to the correct
// API version.
func listImagesWithOptions(ctx context.Context, client listImagesWithOptionsClient, opts v10.ListImagesOptions) ([]v6.ImageStatus, error) {

This comment was marked as abuse.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants