Skip to content

Commit f22fba5

Browse files
manlinlistio-merge-robot
authored andcommitted
Fix linter error (istio#1942)
Automatic merge from submit-queue. Fix linter error **What this PR does / why we need it**: - Workaround vetshadow bug - Add package alias for go-multierror **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
1 parent b84519e commit f22fba5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mixer/adapter/svcctrl/quotaprocessor.go

+1
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ func getAllocatedQuotaAmount(args *adapter.QuotaArgs, quotaMetrics []*sc.MetricV
162162

163163
// ProcessQuota calls Google ServiceControl client to allocate requested quota.
164164
// TODO(manlinl): Support handling multiple QuotaArgs once Mixer supports it. And implement retry on retriable error.
165+
// nolint: vetshadow
165166
func (p *quotaImpl) ProcessQuota(ctx context.Context,
166167
instance *quota.Instance, args adapter.QuotaArgs) (adapter.QuotaResult, error) {
167168
quotaCfg, found := p.quotaIndex[instance.Name]

0 commit comments

Comments
 (0)