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 26, 2024
1 parent cf65f7e commit d8ad53f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions api/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -2881,6 +2881,7 @@ func (r *yamlEncoder) embed(object any) encoder {
// The manifest must contain ALL markers even when sections are empty.
// Note: `^]` = `\x1D` = GS (group separator).
// Section markers:
//
// ^]BEGIN-MAIN^]
// ^]END-MAIN^]
// ^]BEGIN-ISSUES^]
Expand Down
2 changes: 2 additions & 0 deletions binding/application.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,14 @@ type Analysis struct {
// The manifest must contain ALL markers even when sections are empty.
// Note: `^]` = `\x1D` = GS (group separator).
// Section markers:
//
// ^]BEGIN-MAIN^]
// ^]END-MAIN^]
// ^]BEGIN-ISSUES^]
// ^]END-ISSUES^]
// ^]BEGIN-DEPS^]
// ^]END-DEPS^]
//
// The encoding must be:
// - application/json
// - application/x-yaml
Expand Down
5 changes: 3 additions & 2 deletions binding/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -527,8 +527,9 @@ func (r *Client) FilePutEncoded(path, source string, object any, encoding string
}
fields := []Field{
{
Name: api.FileField,
Path: source,
Name: api.FileField,
Path: source,
Encoding: encoding,
},
}
err = r.FileSend(path, http.MethodPut, fields, object)
Expand Down

0 comments on commit d8ad53f

Please sign in to comment.