@@ -32,7 +32,7 @@ func AccountMultiplex(meta schema.ClientMeta) []schema.ClientMeta {
3232 region := getRegion (client .ServicesManager .services [partition ][accountID ])
3333 // Ensure that the region is always set by a region that has been initialized
3434 if region == "" {
35- meta .Logger ().Trace ().Str ("accountID" , accountID ).Str ("partition" , partition ).Msg ("no valid regions have been specified for this account" )
35+ meta .( * Client ). Logger ().Trace ().Str ("accountID" , accountID ).Str ("partition" , partition ).Msg ("no valid regions have been specified for this account" )
3636 continue
3737 }
3838 l = append (l , client .withPartitionAccountIDAndRegion (partition , accountID , region ))
@@ -49,7 +49,7 @@ func ServiceAccountRegionMultiplexer(service string) func(meta schema.ClientMeta
4949 for accountID := range client .ServicesManager .services [partition ] {
5050 for region := range client .ServicesManager .services [partition ][accountID ] {
5151 if ! isSupportedServiceForRegion (service , region ) {
52- meta .Logger ().Trace ().Str ("service" , service ).Str ("region" , region ).Str ("partition" , partition ).Msg ("region is not supported for service" )
52+ meta .( * Client ). Logger ().Trace ().Str ("service" , service ).Str ("region" , region ).Str ("partition" , partition ).Msg ("region is not supported for service" )
5353 continue
5454 }
5555 l = append (l , client .withPartitionAccountIDAndRegion (partition , accountID , region ))
@@ -68,7 +68,7 @@ func ServiceAccountRegionNamespaceMultiplexer(service string) func(meta schema.C
6868 for accountID := range client .ServicesManager .services [partition ] {
6969 for region := range client .ServicesManager .services [partition ][accountID ] {
7070 if ! isSupportedServiceForRegion (service , region ) {
71- meta .Logger ().Trace ().Str ("service" , service ).Str ("region" , region ).Str ("partition" , partition ).Msg ("region is not supported for service" )
71+ meta .( * Client ). Logger ().Trace ().Str ("service" , service ).Str ("region" , region ).Str ("partition" , partition ).Msg ("region is not supported for service" )
7272 continue
7373 }
7474 for _ , ns := range AllNamespaces {
@@ -91,7 +91,7 @@ func ServiceAccountRegionScopeMultiplexer(service string) func(meta schema.Clien
9191 l = append (l , client .withPartitionAccountIDRegionAndScope (partition , accountID , cloudfrontScopeRegion , wafv2types .ScopeCloudfront ))
9292 for region := range client .ServicesManager .services [partition ][accountID ] {
9393 if ! isSupportedServiceForRegion (service , region ) {
94- meta .Logger ().Trace ().Str ("service" , service ).Str ("region" , region ).Str ("partition" , partition ).Msg ("region is not supported for service" )
94+ meta .( * Client ). Logger ().Trace ().Str ("service" , service ).Str ("region" , region ).Str ("partition" , partition ).Msg ("region is not supported for service" )
9595 continue
9696 }
9797 l = append (l , client .withPartitionAccountIDRegionAndScope (partition , accountID , region , wafv2types .ScopeRegional ))
0 commit comments