Skip to content

Fix service job mode filter#41806

Merged
AkihiroSuda merged 1 commit into
moby:masterfrom
dperny:fix-jobs-filter-spelling
Dec 16, 2020
Merged

Fix service job mode filter#41806
AkihiroSuda merged 1 commit into
moby:masterfrom
dperny:fix-jobs-filter-spelling

Conversation

@dperny

@dperny dperny commented Dec 15, 2020

Copy link
Copy Markdown
Contributor

- What I did

Previously, filtering based on mode would fail with jobs because users expect to filter on mode replicated-job or global-job, but the filtering code was checking for replicatedjob or globaljob. Now, the filter matches the correct mode string.

- How I did it

Added two dashes.

- How to verify it

Look and behold, the strings are now correct.

- Description for the changelog

Fixed filtering for replicated-job and global-job Service modes.

Oops.

Signed-off-by: Drew Erny <[email protected]>

@albers albers left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@AkihiroSuda
AkihiroSuda merged commit 727d597 into moby:master Dec 16, 2020
@tiborvass tiborvass added this to the 20.10.2 milestone Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants