Skip to content

Commit

Permalink
fix access key by ommiting both limit and reservation when not specif…
Browse files Browse the repository at this point in the history
…ied (#524)
  • Loading branch information
IgorEulalio authored Jun 17, 2024
1 parent 1640896 commit c448de9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sysdig/internal/client/v2/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -1090,8 +1090,8 @@ type SilenceRule struct {

type AgentAccessKey struct {
ID int `json:"id,omitempty"`
Reservation int `json:"agentReservation"`
Limit int `json:"agentLimit"`
Reservation int `json:"agentReservation,omitempty"`
Limit int `json:"agentLimit,omitempty"`
TeamID int `json:"teamId,omitempty"`
AgentAccessKey string `json:"accessKey,omitempty"`
Metadata map[string]string `json:"metadata,omitempty"`
Expand Down

0 comments on commit c448de9

Please sign in to comment.