Skip to content

Commit

Permalink
Merge pull request #2746 from ganmacs/deprecate-linline-config-specif…
Browse files Browse the repository at this point in the history
…ic-value

Add deprecated log for inline_config
  • Loading branch information
repeatedly authored Dec 23, 2019
2 parents 6ef77be + ba39611 commit 84df361
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/fluent/supervisor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,7 @@ def configure(supervisor: false)
end

if @inline_config == '-'
$log.warn('the value "-" for `inline_config` is deprecated. See https://github.com/fluent/fluentd/issues/2711')
@inline_config = STDIN.read
end

Expand Down

0 comments on commit 84df361

Please sign in to comment.