Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename Splunk to Observe #965

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading