forked from TrueCloudLab/distribution
Merge pull request #2200 from fate-grand-order/fixed
fix typos in comment
This commit is contained in:
commit
d7905dc725
3 changed files with 4 additions and 4 deletions
|
@ -64,7 +64,7 @@
|
|||
// Note that this only affects the new context, the previous context, with the
|
||||
// version field, can be used independently. Put another way, the new logger,
|
||||
// added to the request context, is unique to that context and can have
|
||||
// request scoped varaibles.
|
||||
// request scoped variables.
|
||||
//
|
||||
// HTTP Requests
|
||||
//
|
||||
|
|
|
@ -25,8 +25,8 @@ func TestReturns200IfThereAreNoChecks(t *testing.T) {
|
|||
}
|
||||
}
|
||||
|
||||
// TestReturns500IfThereAreErrorChecks ensures that the result code of the
|
||||
// health endpoint is 500 if there are health checks with errors
|
||||
// TestReturns503IfThereAreErrorChecks ensures that the result code of the
|
||||
// health endpoint is 503 if there are health checks with errors.
|
||||
func TestReturns503IfThereAreErrorChecks(t *testing.T) {
|
||||
recorder := httptest.NewRecorder()
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ type ManifestList struct {
|
|||
Manifests []ManifestDescriptor `json:"manifests"`
|
||||
}
|
||||
|
||||
// References returnes the distribution descriptors for the referenced image
|
||||
// References returns the distribution descriptors for the referenced image
|
||||
// manifests.
|
||||
func (m ManifestList) References() []distribution.Descriptor {
|
||||
dependencies := make([]distribution.Descriptor, len(m.Manifests))
|
||||
|
|
Loading…
Reference in a new issue