Skip to content

Commit

Permalink
Revert "[lxd-import] client/projects: Update calls to queryOperation."
Browse files Browse the repository at this point in the history
This reverts commit 961157d.

Part of #292

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
  • Loading branch information
stgraber committed Mar 28, 2024
1 parent 48236cf commit 3aaa57e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/incus_projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func (r *ProtocolIncus) RenameProject(name string, project api.ProjectPost) (Ope
}

// Send the request
op, _, err := r.queryOperation("POST", fmt.Sprintf("/projects/%s", url.PathEscape(name)), project, "", true)
op, _, err := r.queryOperation("POST", fmt.Sprintf("/projects/%s", url.PathEscape(name)), project, "")
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 3aaa57e

Please sign in to comment.