Skip to content

Commit 6a5d42a

Browse files
authored
Fix error message when splunk_access_token is not set (#5380)
1 parent 0327549 commit 6a5d42a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployments/chef/recipes/default.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
ruby_block 'splunk-access-token-unset' do
55
block do
6-
raise "Set ['splunk_access_token']['splunk_access_token'] as an attribute or on the node's run_state."
6+
raise "Set ['splunk_otel_collector']['splunk_access_token'] as an attribute or on the node's run_state."
77
end
88
only_if { node['splunk_otel_collector']['splunk_access_token'].nil? }
99
end

0 commit comments

Comments
 (0)