1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Removes redundant else in registry/session.go

Fixes #12523

Signed-off-by: Rick Wieman <git@rickw.nl>
This commit is contained in:
Rick Wieman 2015-04-19 23:36:58 +02:00
parent 24b89b7098
commit 5f2b051ec5

View file

@ -224,7 +224,8 @@ func (r *Session) GetRemoteTags(registries []string, repository string, token []
if res.StatusCode == 404 { if res.StatusCode == 404 {
return nil, fmt.Errorf("Repository not found") return nil, fmt.Errorf("Repository not found")
} else if res.StatusCode != 200 { }
if res.StatusCode != 200 {
continue continue
} }