Skip to content

Commit 823dcd0

Browse files
authored
sd_file: fix typo (#4967)
**Which issue(s) this PR fixes**: Fixes # **What this PR does / why we need it**: Fix misspell **Docs Changes**: Not needed. **Release Note**: The same as the title. Signed-off-by: Shizuo Fujita <[email protected]>
1 parent 3acd4eb commit 823dcd0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/fluent/plugin/sd_file.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class FileServiceDiscovery < ServiceDiscovery
2727
Plugin.register_sd('file', self)
2828

2929
DEFAULT_FILE_TYPE = :yaml
30-
DEFAUT_WEIGHT = 60
30+
DEFAULT_WEIGHT = 60
3131
DEFAULT_SD_FILE_PATH = ENV['DEFAULT_SD_FILE_PATH'] || '/etc/fluent/sd.yaml'
3232

3333
helpers :event_loop
@@ -126,7 +126,7 @@ def fetch_server_info
126126
s.fetch('host'),
127127
s.fetch('port'),
128128
s['name'],
129-
s.fetch('weight', DEFAUT_WEIGHT),
129+
s.fetch('weight', DEFAULT_WEIGHT),
130130
s['standby'],
131131
s['username'],
132132
s['password'],

0 commit comments

Comments
 (0)