API: Add test for status code on conflicting service names#38142
Merged
cpuguy83 merged 1 commit intomoby:masterfrom Dec 10, 2018
Merged
API: Add test for status code on conflicting service names#38142cpuguy83 merged 1 commit intomoby:masterfrom
cpuguy83 merged 1 commit intomoby:masterfrom
Conversation
c127395 to
2f52293
Compare
Codecov Report
@@ Coverage Diff @@
## master #38142 +/- ##
=========================================
Coverage ? 36.09%
=========================================
Files ? 610
Lines ? 45249
Branches ? 0
=========================================
Hits ? 16331
Misses ? 26677
Partials ? 2241 |
2f52293 to
f9e7cb4
Compare
011cbfb to
5093078
Compare
Member
Author
|
depends on moby/swarmkit#2779 to be vendored |
Signed-off-by: Sebastiaan van Stijn <[email protected]>
5093078 to
b0de11c
Compare
Member
Author
|
ok; swarmkit changes were merged and vendored, so this is no longer WIP @vdemeester @cpuguy83 PTAL |
cpuguy83
reviewed
Nov 26, 2018
thaJeztah
added a commit
to thaJeztah/docker
that referenced
this pull request
Feb 1, 2019
Full diff: moby/swarmkit@8af8c42...1a0ebd4 relevant changes: - swarmkit#2771 Allow using Configs as CredentialSpecs - swarmkit#2804 Make Service.UpdateStatus non-ambiguous - swarmkit#2805 Refactor condition in restart supervisor - swarmkit#2780 api: add BindOptions.NonRecursive - related to moby#38003 - swarmkit#2790 Fix possible panic if NetworkConfig is nil - swarmkit#2797 Include old error-message for backward compatibility - related to swarmkit#2779 / moby#38140 / moby#38142 Signed-off-by: Sebastiaan van Stijn <[email protected]>
adi-dhulipala
pushed a commit
to adi-dhulipala/docker
that referenced
this pull request
Apr 11, 2019
Full diff: moby/swarmkit@8af8c42...1a0ebd4 relevant changes: - swarmkit#2771 Allow using Configs as CredentialSpecs - swarmkit#2804 Make Service.UpdateStatus non-ambiguous - swarmkit#2805 Refactor condition in restart supervisor - swarmkit#2780 api: add BindOptions.NonRecursive - related to moby#38003 - swarmkit#2790 Fix possible panic if NetworkConfig is nil - swarmkit#2797 Include old error-message for backward compatibility - related to swarmkit#2779 / moby#38140 / moby#38142 Signed-off-by: Sebastiaan van Stijn <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
fixes #38140
Before this change, attempting to create a service with a name that already exists produces a 500 error;
After this change, a 409 (conflict) is returned: