소스 검색

Fixes #21803 : Removing unused configuration in daemon/logger/fluentd

Signed-off-by: milindchawre <milindchawre@gmail.com>
milindchawre 8 년 전
부모
커밋
3463bbcc71
1개의 변경된 파일2개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 5
      daemon/logger/fluentd/fluentd.go

+ 2 - 5
daemon/logger/fluentd/fluentd.go

@@ -31,14 +31,11 @@ const (
 	defaultHost        = "127.0.0.1"
 	defaultHost        = "127.0.0.1"
 	defaultPort        = 24224
 	defaultPort        = 24224
 	defaultBufferLimit = 1024 * 1024
 	defaultBufferLimit = 1024 * 1024
-	defaultTagPrefix   = "docker"
 
 
 	// logger tries to reconnect 2**32 - 1 times
 	// logger tries to reconnect 2**32 - 1 times
 	// failed (and panic) after 204 years [ 1.5 ** (2**32 - 1) - 1 seconds]
 	// failed (and panic) after 204 years [ 1.5 ** (2**32 - 1) - 1 seconds]
-	defaultRetryWait              = 1000
-	defaultTimeout                = 3 * time.Second
-	defaultMaxRetries             = math.MaxInt32
-	defaultReconnectWaitIncreRate = 1.5
+	defaultRetryWait  = 1000
+	defaultMaxRetries = math.MaxInt32
 
 
 	addressKey      = "fluentd-address"
 	addressKey      = "fluentd-address"
 	bufferLimitKey  = "fluentd-buffer-limit"
 	bufferLimitKey  = "fluentd-buffer-limit"