From 91ee4b3bcd01d058572131fc3e3d84098b2cd087 Mon Sep 17 00:00:00 2001 From: Aphral Griffin Date: Thu, 29 Aug 2024 13:57:12 +0100 Subject: [PATCH] fix name of deprecated flag --- src/core/config/config.go | 2 +- .../vendor/github.com/nginx/agent/v2/src/core/config/config.go | 2 +- .../vendor/github.com/nginx/agent/v2/src/core/config/config.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/config/config.go b/src/core/config/config.go index dfee04b1bc..e4aca09014 100644 --- a/src/core/config/config.go +++ b/src/core/config/config.go @@ -139,7 +139,7 @@ func deprecateFlags() { setFlagDeprecated("nap-monitoring-processor-buffer-size", "DEPRECATED. No replacement command.") setFlagDeprecated("nap-monitoring-syslog-ip", "DEPRECATED. No replacement command.") setFlagDeprecated("nap-monitoring-syslog-port", "DEPRECATED. No replacement command.") - setFlagDeprecated("metrics-bulksize", "DEPRECATED. Use metrics backoff maxElapsedTime instead to set a time period where no successful connection, after time elapsed start dropping oldest metrics from the buffer.") + setFlagDeprecated("metrics-bulk-size", "DEPRECATED. Use metrics backoff maxElapsedTime instead to set a time period where no successful connection, after time elapsed start dropping oldest metrics from the buffer.") } func RegisterFlags() { diff --git a/test/integration/vendor/github.com/nginx/agent/v2/src/core/config/config.go b/test/integration/vendor/github.com/nginx/agent/v2/src/core/config/config.go index dfee04b1bc..e4aca09014 100644 --- a/test/integration/vendor/github.com/nginx/agent/v2/src/core/config/config.go +++ b/test/integration/vendor/github.com/nginx/agent/v2/src/core/config/config.go @@ -139,7 +139,7 @@ func deprecateFlags() { setFlagDeprecated("nap-monitoring-processor-buffer-size", "DEPRECATED. No replacement command.") setFlagDeprecated("nap-monitoring-syslog-ip", "DEPRECATED. No replacement command.") setFlagDeprecated("nap-monitoring-syslog-port", "DEPRECATED. No replacement command.") - setFlagDeprecated("metrics-bulksize", "DEPRECATED. Use metrics backoff maxElapsedTime instead to set a time period where no successful connection, after time elapsed start dropping oldest metrics from the buffer.") + setFlagDeprecated("metrics-bulk-size", "DEPRECATED. Use metrics backoff maxElapsedTime instead to set a time period where no successful connection, after time elapsed start dropping oldest metrics from the buffer.") } func RegisterFlags() { diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/config.go b/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/config.go index dfee04b1bc..e4aca09014 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/config.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/core/config/config.go @@ -139,7 +139,7 @@ func deprecateFlags() { setFlagDeprecated("nap-monitoring-processor-buffer-size", "DEPRECATED. No replacement command.") setFlagDeprecated("nap-monitoring-syslog-ip", "DEPRECATED. No replacement command.") setFlagDeprecated("nap-monitoring-syslog-port", "DEPRECATED. No replacement command.") - setFlagDeprecated("metrics-bulksize", "DEPRECATED. Use metrics backoff maxElapsedTime instead to set a time period where no successful connection, after time elapsed start dropping oldest metrics from the buffer.") + setFlagDeprecated("metrics-bulk-size", "DEPRECATED. Use metrics backoff maxElapsedTime instead to set a time period where no successful connection, after time elapsed start dropping oldest metrics from the buffer.") } func RegisterFlags() {