parent
							
								
									6a8e2ca84f
								
							
						
					
					
						commit
						3161f9d1fd
					
				|  | @ -64,7 +64,7 @@ | ||||||
| // Note that this only affects the new context, the previous context, with the
 | // 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,
 | // 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
 | // added to the request context, is unique to that context and can have
 | ||||||
| // request scoped varaibles.
 | // request scoped variables.
 | ||||||
| //
 | //
 | ||||||
| // HTTP Requests
 | // HTTP Requests
 | ||||||
| //
 | //
 | ||||||
|  |  | ||||||
|  | @ -25,8 +25,8 @@ func TestReturns200IfThereAreNoChecks(t *testing.T) { | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // TestReturns500IfThereAreErrorChecks ensures that the result code of the
 | // TestReturns503IfThereAreErrorChecks ensures that the result code of the
 | ||||||
| // health endpoint is 500 if there are health checks with errors
 | // health endpoint is 503 if there are health checks with errors.
 | ||||||
| func TestReturns503IfThereAreErrorChecks(t *testing.T) { | func TestReturns503IfThereAreErrorChecks(t *testing.T) { | ||||||
| 	recorder := httptest.NewRecorder() | 	recorder := httptest.NewRecorder() | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -81,7 +81,7 @@ type ManifestList struct { | ||||||
| 	Manifests []ManifestDescriptor `json:"manifests"` | 	Manifests []ManifestDescriptor `json:"manifests"` | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| // References returnes the distribution descriptors for the referenced image
 | // References returns the distribution descriptors for the referenced image
 | ||||||
| // manifests.
 | // manifests.
 | ||||||
| func (m ManifestList) References() []distribution.Descriptor { | func (m ManifestList) References() []distribution.Descriptor { | ||||||
| 	dependencies := make([]distribution.Descriptor, len(m.Manifests)) | 	dependencies := make([]distribution.Descriptor, len(m.Manifests)) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue