mirror of
https://github.com/harness/drone.git
synced 2025-05-31 11:43:15 +00:00
address comment
This commit is contained in:
parent
cb421897e0
commit
f881ae89d6
@ -91,7 +91,6 @@ func NewHarnessCodeClient(baseUrl string, accountID string, orgId string, projec
|
||||
func (c *HarnessCodeClient) CreateRepo(ctx context.Context, input repo.CreateInput) (*Repository, error) {
|
||||
path := fmt.Sprintf(pathCreateRepo, c.client.accountId, c.client.orgId, c.client.projectId, input.UID, c.client.accountId)
|
||||
req, err := http.NewRequestWithContext(ctx, http.MethodPost, appendPath(c.client.baseURL, path), nil)
|
||||
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("unable to create new http request : %w", err)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user