forked from TrueCloudLab/distribution
Fix some go vet errors
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
bdbb90e01f
commit
3790b5d6b4
1 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ func TestValidateEndpointAmbiguousAPIVersion(t *testing.T) {
|
|||
}
|
||||
|
||||
if testEndpoint.Version != APIVersion1 {
|
||||
t.Fatalf("expected endpoint to validate to %s, got %s", APIVersion1, testEndpoint.Version)
|
||||
t.Fatalf("expected endpoint to validate to %d, got %d", APIVersion1, testEndpoint.Version)
|
||||
}
|
||||
|
||||
// Make a test server which should validate as a v2 server.
|
||||
|
@ -87,6 +87,6 @@ func TestValidateEndpointAmbiguousAPIVersion(t *testing.T) {
|
|||
}
|
||||
|
||||
if testEndpoint.Version != APIVersion2 {
|
||||
t.Fatalf("expected endpoint to validate to %s, got %s", APIVersion2, testEndpoint.Version)
|
||||
t.Fatalf("expected endpoint to validate to %d, got %d", APIVersion2, testEndpoint.Version)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue