Skip to content

Commit

Permalink
fix malformed JSON struct tags
Browse files Browse the repository at this point in the history
  • Loading branch information
chavacava committed Jun 25, 2022
1 parent 2d33df7 commit b611a8a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions services/bos/api/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ type PutBucketLoggingArgs struct {
type GetBucketLoggingResult struct {
Status string `json:"status"`
TargetBucket string `json:"targetBucket,omitempty"`
TargetPrefix string `json:"targetPrefix, omitempty"`
TargetPrefix string `json:"targetPrefix,omitempty"`
}

// LifecycleConditionTimeType defines the structure of time condition
Expand Down Expand Up @@ -321,8 +321,8 @@ type SelectObjectResult struct {

// selectObject request args
type SelectObjectArgs struct {
SelectType string `json: "-"`
SelectRequest *SelectObjectRequest `json: "selectRequest"`
SelectType string `json:"-"`
SelectRequest *SelectObjectRequest `json:"selectRequest"`
}

type SelectObjectRequest struct {
Expand Down

0 comments on commit b611a8a

Please sign in to comment.