Skip to content

Commit 56d64bb

Browse files
authored
fix(audit_trail): add export tags as repeated string (scaleway#2779)
1 parent b2bca39 commit 56d64bb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

api/audit_trail/v1alpha1/audit_trail_sdk.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ type ExportJob struct {
991991
LastRunAt *time.Time `json:"last_run_at"`
992992

993993
// Tags: tags of the export job.
994-
Tags map[string]string `json:"tags"`
994+
Tags []string `json:"tags"`
995995

996996
// LastStatus: status of last export job.
997997
LastStatus *ExportJobStatus `json:"last_status"`
@@ -1025,7 +1025,7 @@ type CreateExportJobRequest struct {
10251025
S3 *ExportJobS3 `json:"s3,omitempty"`
10261026

10271027
// Tags: tags of the export.
1028-
Tags map[string]string `json:"tags"`
1028+
Tags []string `json:"tags"`
10291029
}
10301030

10311031
// DeleteExportJobRequest: delete export job request.
@@ -1165,7 +1165,7 @@ type ListExportJobsRequest struct {
11651165
Name *string `json:"-"`
11661166

11671167
// Tags: (Optional) List of tags to filter on.
1168-
Tags map[string]string `json:"-"`
1168+
Tags []string `json:"-"`
11691169

11701170
Page *int32 `json:"-"`
11711171

0 commit comments

Comments
 (0)