Skip to content

Commit cf34384

Browse files
committed
stop lint errors and remove repeated error
1 parent 0ba94f2 commit cf34384

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

service/worker/workerdeployment/util.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ const (
7373

7474
ErrRampingVersionDoesNotHaveAllTaskQueues = "proposed ramping version is missing active task queues from the current version; these would become unversioned if it is set as the ramping version"
7575
ErrCurrentVersionDoesNotHaveAllTaskQueues = "proposed current version is missing active task queues from the current version; these would become unversioned if it is set as the current version"
76-
ErrTooManyRequests = "Too many %s requests have been issued in rapid succession. Please throttle the request rate to avoid exceeding system resource limits."
7776
)
7877

7978
var (

service/worker/workerdeployment/workflow.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -838,7 +838,8 @@ func (d *WorkflowRunner) syncUnversionedRamp(ctx workflow.Context, versionUpdate
838838
activityCtx,
839839
d.a.DescribeVersionFromWorkerDeployment,
840840
&deploymentspb.DescribeVersionFromWorkerDeploymentActivityArgs{
841-
Version: d.State.RoutingConfig.CurrentVersion,
841+
Version: d.State.RoutingConfig.CurrentVersion, //nolint:staticcheck // SA1019: worker versioning v0.31
842+
842843
}).Get(ctx, &res)
843844
if err != nil {
844845
return err

0 commit comments

Comments
 (0)