This commit is contained in:
Wenkai Yin 2016-06-30 13:53:37 +08:00
parent af1db227d9
commit 6b88d4a0dc

View File

@ -99,6 +99,9 @@ func NewRepositoryWithUsername(name, endpoint, username string) (*Repository, er
}
client, err := newClient(endpoint, username, nil, "repository", name, "pull", "push")
if err != nil {
return nil, err
}
repository := &Repository{
Name: name,