Skip to content

Commit 13ee382

Browse files
fix plural formatting (#14769) (#23912)
[upstream:b9a6835a6d10a867b420bc4be98cd6ea5cf07de4] Signed-off-by: Modular Magician <[email protected]>
1 parent 953bbc2 commit 13ee382

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

google/services/dialogflowcx/resource_dialogflow_cx_security_settings_sweeper.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,9 @@ func listAndActionDialogflowCXSecuritySettings(action sweeper.ResourceAction) er
140140
}
141141

142142
// First try the expected resource key
143-
resourceList, ok := res["securitySettingss"]
143+
resourceList, ok := res["securitySettings"]
144144
if ok {
145-
log.Printf("[INFO][SWEEPER_LOG] Found resources under expected key 'securitySettingss'")
145+
log.Printf("[INFO][SWEEPER_LOG] Found resources under expected key 'securitySettings'")
146146
} else {
147147
// Next, try the common "items" pattern
148148
resourceList, ok = res["items"]

google/services/eventarc/resource_eventarc_message_bus_sweeper.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ func listAndActionEventarcMessageBus(action sweeper.ResourceAction) error {
142142
}
143143

144144
// First try the expected resource key
145-
resourceList, ok := res["messageBuss"]
145+
resourceList, ok := res["messageBuses"]
146146
if ok {
147-
log.Printf("[INFO][SWEEPER_LOG] Found resources under expected key 'messageBuss'")
147+
log.Printf("[INFO][SWEEPER_LOG] Found resources under expected key 'messageBuses'")
148148
} else {
149149
// Next, try the common "items" pattern
150150
resourceList, ok = res["items"]

0 commit comments

Comments
 (0)