From 900a0f171e014a1a891fe55bc96a0bb7b2ef8456 Mon Sep 17 00:00:00 2001 From: Tadhg Boyle Date: Fri, 4 Oct 2024 12:20:29 -0700 Subject: [PATCH] Rename `Splunk` to `Observe` --- lib/krane/kubernetes_resource.rb | 2 +- test/unit/krane/kubernetes_resource_test.rb | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/krane/kubernetes_resource.rb b/lib/krane/kubernetes_resource.rb index 2636ae9b0..f547b2290 100644 --- a/lib/krane/kubernetes_resource.rb +++ b/lib/krane/kubernetes_resource.rb @@ -25,7 +25,7 @@ class KubernetesResource DISABLE_FETCHING_EVENT_INFO = 'DISABLE_FETCHING_EVENT_INFO' DISABLED_LOG_INFO_MESSAGE = "collection is disabled by the #{DISABLE_FETCHING_LOG_INFO} env var." DISABLED_EVENT_INFO_MESSAGE = "collection is disabled by the #{DISABLE_FETCHING_EVENT_INFO} env var." - DEBUG_RESOURCE_NOT_FOUND_MESSAGE = "None found. Please check your usual logging service (e.g. Splunk)." + DEBUG_RESOURCE_NOT_FOUND_MESSAGE = "None found. Please check your usual logging service (e.g. Observe)." UNUSUAL_FAILURE_MESSAGE = <<~MSG It is very unusual for this resource type to fail to deploy. Please try the deploy again. If that new deploy also fails, contact your cluster administrator. diff --git a/test/unit/krane/kubernetes_resource_test.rb b/test/unit/krane/kubernetes_resource_test.rb index 75ba7cc53..c257606c4 100644 --- a/test/unit/krane/kubernetes_resource_test.rb +++ b/test/unit/krane/kubernetes_resource_test.rb @@ -269,8 +269,8 @@ def test_whitespace_in_debug_message expected_message = <<~STRING DummyResource/test: FAILED - Final status: Exists - - Events: None found. Please check your usual logging service (e.g. Splunk). - - Logs: None found. Please check your usual logging service (e.g. Splunk). + - Events: None found. Please check your usual logging service (e.g. Observe). + - Logs: None found. Please check your usual logging service (e.g. Observe). STRING assert_equal(expected_message.strip, dummy.debug_message) @@ -281,8 +281,8 @@ def test_whitespace_in_debug_message Something went wrong I guess - Final status: Exists - - Events: None found. Please check your usual logging service (e.g. Splunk). - - Logs: None found. Please check your usual logging service (e.g. Splunk). + - Events: None found. Please check your usual logging service (e.g. Observe). + - Logs: None found. Please check your usual logging service (e.g. Observe). STRING assert_equal(expected_message.strip, dummy.debug_message) @@ -294,8 +294,8 @@ def test_whitespace_in_debug_message > Some container: boom! - Final status: Exists - - Events: None found. Please check your usual logging service (e.g. Splunk). - - Logs: None found. Please check your usual logging service (e.g. Splunk). + - Events: None found. Please check your usual logging service (e.g. Observe). + - Logs: None found. Please check your usual logging service (e.g. Observe). STRING assert_equal(expected_message.strip, dummy.debug_message) end