Skip to content

Commit

Permalink
fix(api/v1/registry/client): Work with GCR
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanilves committed Nov 1, 2018
1 parent c657343 commit 3dbbcf0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion api/v1/registry/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import (
"net/http"
"time"

log "github.com/sirupsen/logrus"

"github.com/ivanilves/lstags/api/v1/registry/client/auth"
"github.com/ivanilves/lstags/api/v1/registry/client/request"
"github.com/ivanilves/lstags/tag"
Expand Down Expand Up @@ -286,7 +288,9 @@ func (cli *RegistryClient) Tag(repoPath, tagName string) (*tag.Tag, error) {

options, err := cli.v1TagOptions(repoPath, tagName)
if err != nil {
return nil, err
log.Warnf("%s\n", err.Error())

options = &tag.Options{}
}

select {
Expand Down

0 comments on commit 3dbbcf0

Please sign in to comment.