Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

registy/handlers: move images to manifests #2134

Merged
merged 1 commit into from Jan 11, 2017

Conversation

stevvooe
Copy link
Collaborator

Once upon a time, we referred to manifests and images interchangably.
That simple past is no more. As we grow, we update our nomenclature and
so follows our code.

Signed-off-by: Stephen J Day stephen.day@docker.com

@codecov-io
Copy link

codecov-io commented Jan 10, 2017

Current coverage is 51.11% (diff: 100%)

Merging #2134 into master will decrease coverage by 10.00%

@@             master      #2134   diff @@
==========================================
  Files           125        125           
  Lines         11432      11432           
  Methods           0          0           
  Messages          0          0           
  Branches          0          0           
==========================================
- Hits           6987       5843   -1144   
- Misses         3557       4843   +1286   
+ Partials        888        746    -142   

Powered by Codecov. Last update ff68ca3...c91a68c

@@ -26,45 +26,45 @@ const (
defaultOS = "linux"
)

// imageManifestDispatcher takes the request context and builds the
// manifestDispatcher takes the request context and builds the
// appropriate handler for handling image manifest requests.
Copy link
Collaborator

Choose a reason for hiding this comment

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

"handling manifest requests"

@@ -231,8 +231,8 @@ func etagMatch(r *http.Request, etag string) bool {
return false
}

// PutImageManifest validates and stores an image in the registry.
func (imh *imageManifestHandler) PutImageManifest(w http.ResponseWriter, r *http.Request) {
// PutManifest validates and stores an image in the registry.
Copy link
Collaborator

Choose a reason for hiding this comment

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

"stores a manifest"

@dmcgowan
Copy link
Collaborator

A couple lingering comment references, then LGTM

Once upon a time, we referred to manifests and images interchangably.
That simple past is no more. As we grow, we update our nomenclature and
so follows our code.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
@dmcgowan dmcgowan merged commit 69c7f30 into distribution:master Jan 11, 2017
@stevvooe stevvooe deleted the images-are-manifests branch January 11, 2017 22:27
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.

None yet

3 participants