Skip to content

Commit

Permalink
Rename Splunk to Observe
Browse files Browse the repository at this point in the history
  • Loading branch information
tadhgboyle committed Oct 4, 2024
1 parent 8eae973 commit 900a0f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/krane/kubernetes_resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
12 changes: 6 additions & 6 deletions test/unit/krane/kubernetes_resource_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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)

Expand All @@ -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
Expand Down

0 comments on commit 900a0f1

Please sign in to comment.