Skip to content

Commit c448de9

Browse files
authored
fix access key by ommiting both limit and reservation when not specified (#524)
1 parent 1640896 commit c448de9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sysdig/internal/client/v2/model.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,8 +1090,8 @@ type SilenceRule struct {
10901090

10911091
type AgentAccessKey struct {
10921092
ID int `json:"id,omitempty"`
1093-
Reservation int `json:"agentReservation"`
1094-
Limit int `json:"agentLimit"`
1093+
Reservation int `json:"agentReservation,omitempty"`
1094+
Limit int `json:"agentLimit,omitempty"`
10951095
TeamID int `json:"teamId,omitempty"`
10961096
AgentAccessKey string `json:"accessKey,omitempty"`
10971097
Metadata map[string]string `json:"metadata,omitempty"`

0 commit comments

Comments
 (0)