Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <[email protected]>
  • Loading branch information
jortel committed Sep 25, 2024
1 parent d428f93 commit c85af8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions binding/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ type Analysis struct {
// The encoding must be:
// - application/json
// - application/x-yaml
func (h *Analysis) Create(manifest, encoding string) (err error) {
func (h *Analysis) Create(manifest, encoding string) (r *api.Analysis, err error) {
switch encoding {
case "":
encoding = binding.MIMEJSON
Expand All @@ -337,7 +337,7 @@ func (h *Analysis) Create(manifest, encoding string) (err error) {
"Encoding: %s not supported",
encoding)
}
r := &api.Analysis{}
r = &api.Analysis{}
path := Path(api.AppAnalysesRoot).Inject(Params{api.ID: h.appId})
err = h.client.FilePostEncoded(path, manifest, r, encoding)
if err != nil {
Expand Down

0 comments on commit c85af8e

Please sign in to comment.