Skip to content

Commit 6ca2ccf

Browse files
authored
Merge pull request #746 from SumoLogic/erikatsumo-fix-rolev2
Omit empty RoleV2 selection type
2 parents 78e9568 + 48b0ec9 commit 6ca2ccf

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
BUG FIXES:
55
* Properly send optional webhook notification payload value
6+
* RoleV2 creation will no longer time out when selection_type is not specified
67

78
MAINTENANCE:
89
* Bump version of golang.org/x/net to v0.35.0

sumologic/sumologic_role_v2.go

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
// ----------------------------------------------------------------------------
2-
//
3-
// *** AUTO GENERATED CODE *** AUTO GENERATED CODE ***
4-
//
5-
// ----------------------------------------------------------------------------
6-
//
7-
// This file is automatically generated by Sumo Logic and manual
8-
// changes will be clobbered when the file is regenerated. Do not submit
9-
// changes to this file.
10-
//
11-
// ----------------------------------------------------------------------------
121
package sumologic
132

143
import (
@@ -98,7 +87,7 @@ type RoleV2 struct {
9887
AuditDataFilter string `json:"auditDataFilter"`
9988
ID string `json:"id,omitempty"`
10089
LogAnalyticsFilter string `json:"logAnalyticsFilter"`
101-
SelectionType string `json:"selectionType"`
90+
SelectionType string `json:"selectionType,omitempty"`
10291
SelectedViews []ViewFilterDefinition `json:"selectedViews,omitempty"`
10392
Description string `json:"description"`
10493
}

0 commit comments

Comments
 (0)