Removes redundant else in registry/session.go

Fixes #12523

Signed-off-by: Rick Wieman <git@rickw.nl>
Upstream-commit: 5f2b051ec5a2f639857a1628f3c994fbfd0b3da0
Component: engine
This commit is contained in:
Rick Wieman
2015-04-19 23:58:55 +02:00
parent 523cbfc000
commit 0b57229dc6
+2 -1
View File
@@ -224,7 +224,8 @@ func (r *Session) GetRemoteTags(registries []string, repository string, token []
if res.StatusCode == 404 {
return nil, fmt.Errorf("Repository not found")
} else if res.StatusCode != 200 {
}
if res.StatusCode != 200 {
continue
}