Merge pull request #12524 from RickWieman/12523-remove-redundant-else

Removes redundant else in registry/session.go
This commit is contained in:
Alexander Morozov 2015-04-19 22:08:50 -07:00
commit b7950b725b
1 changed files with 2 additions and 1 deletions

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
}