summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/prometheus_metrics/prometheus_metrics.js
diff options
context:
space:
mode:
authorgfyoung <gfyoung17@gmail.com>2018-06-13 23:18:05 -0700
committergfyoung <gfyoung17@gmail.com>2018-06-15 13:08:47 -0700
commitdbc74800e22c9ea417d30fd4c357d6154cc71870 (patch)
treef704225b4ce0d922047b5eb83a258ca2e69e3a7a /app/assets/javascripts/prometheus_metrics/prometheus_metrics.js
parent102db0aaf162ec122d79e1aaff0f5ac3c86af373 (diff)
downloadgitlab-ce-dbc74800e22c9ea417d30fd4c357d6154cc71870.tar.gz
Enable no-multi-assignment in JS files
Partially addresses #47006.
Diffstat (limited to 'app/assets/javascripts/prometheus_metrics/prometheus_metrics.js')
-rw-r--r--app/assets/javascripts/prometheus_metrics/prometheus_metrics.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/prometheus_metrics/prometheus_metrics.js b/app/assets/javascripts/prometheus_metrics/prometheus_metrics.js
index 1a75fdd75db..078ccbbbac2 100644
--- a/app/assets/javascripts/prometheus_metrics/prometheus_metrics.js
+++ b/app/assets/javascripts/prometheus_metrics/prometheus_metrics.js
@@ -107,7 +107,7 @@ export default class PrometheusMetrics {
if (data && data.success) {
stop(data);
} else {
- this.backOffRequestCounter = this.backOffRequestCounter += 1;
+ this.backOffRequestCounter += 1;
if (this.backOffRequestCounter < 3) {
next();
} else {