Skip to content

Commit 9eebfdb

Browse files
Jabbo16moolen
authored andcommitted
fix: robot account creation
1 parent 0f36da7 commit 9eebfdb

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

pkg/harbor/robot.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@ func (c *Client) CreateRobotAccount(name string, project Project) (*CreateRobotR
8888
Resource: fmt.Sprintf("/project/%d/repository", project.ID),
8989
Action: "pull",
9090
},
91-
{
92-
Resource: fmt.Sprintf("/project/%s/repository", project.Name),
93-
Action: "pull",
94-
},
9591
},
9692
})
9793

0 commit comments

Comments
 (0)