From 07d73cce7b51e05c0f9d2ada4272aad11256ab52 Mon Sep 17 00:00:00 2001 From: Oliver O'Mahony Date: Wed, 6 Sep 2023 14:45:10 +0100 Subject: [PATCH] code review comments --- README.md | 1 - hugo/content/overview.md | 1 - src/plugins/events.go | 1 - .../vendor/github.com/nginx/agent/v2/src/plugins/events.go | 1 - 4 files changed, 4 deletions(-) diff --git a/README.md b/README.md index cb8fa7e64b..b84f38c308 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,6 @@ NGINX Agent allows a gRPC connected control system to register a listener for a | Event | Description | | -------------------------------- | -------------------------------------------- | | AGENT_START_MESSAGE | NGINX Agent process started | -| AGENT_STOP_MESSAGE | NGINX Agent process stopped | | NGINX_FOUND_MESSAGE | NGINX master process detected on system | | NGINX_STOP_MESSAGE | NGINX master process stopped | | NGINX_RELOAD_SUCCESS_MESSAGE | NGINX master process reloaded successfully | diff --git a/hugo/content/overview.md b/hugo/content/overview.md index 8428524c73..abd862cfa6 100644 --- a/hugo/content/overview.md +++ b/hugo/content/overview.md @@ -52,7 +52,6 @@ NGINX Agent allows a gRPC connected control system to register a listener for a | Event | Description | | -------------------------------- | -------------------------------------------- | | AGENT_START_MESSAGE | Agent process started | -| AGENT_STOP_MESSAGE | Agent process stopped | | NGINX_FOUND_MESSAGE | NGINX master process detected on system | | NGINX_STOP_MESSAGE | NGINX master process stopped | | NGINX_RELOAD_SUCCESS_MESSAGE | NGINX master process reloaded successfully | diff --git a/src/plugins/events.go b/src/plugins/events.go index 9c116982e0..c120b6dd76 100644 --- a/src/plugins/events.go +++ b/src/plugins/events.go @@ -27,7 +27,6 @@ import ( const ( AGENT_START_MESSAGE = "nginx-agent %s started on %s with pid %s" - AGENT_STOP_MESSAGE = "nginx-agent %s (pid: %s) stopped on %s" NGINX_FOUND_MESSAGE = "nginx-v%s master process was found with a pid %s" NGINX_STOP_MESSAGE = "nginx-v%s master process (pid: %s) stopped" NGINX_RELOAD_SUCCESS_MESSAGE = "nginx-v%s master process (pid: %s) reloaded successfully" diff --git a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/events.go b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/events.go index 9c116982e0..c120b6dd76 100644 --- a/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/events.go +++ b/test/performance/vendor/github.com/nginx/agent/v2/src/plugins/events.go @@ -27,7 +27,6 @@ import ( const ( AGENT_START_MESSAGE = "nginx-agent %s started on %s with pid %s" - AGENT_STOP_MESSAGE = "nginx-agent %s (pid: %s) stopped on %s" NGINX_FOUND_MESSAGE = "nginx-v%s master process was found with a pid %s" NGINX_STOP_MESSAGE = "nginx-v%s master process (pid: %s) stopped" NGINX_RELOAD_SUCCESS_MESSAGE = "nginx-v%s master process (pid: %s) reloaded successfully"