File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -168,9 +168,8 @@ type AgentCmdFlags struct {
168168 // Prometheus (--enable-metrics) enables the Prometheus metrics server.
169169 Prometheus bool
170170
171- // DisableCompression (--disable-compression) disables the GZIP compression
172- // when uploading the data. Useful for debugging purposes, or when an
173- // intermediate proxy doesn't like compressed data.
171+ // DisableCompression (--disable-compression) is deprecated and no longer
172+ // has an effect.
174173 DisableCompression bool
175174}
176175
@@ -304,6 +303,7 @@ func InitAgentCmdFlags(c *cobra.Command, cfg *AgentCmdFlags) {
304303 false ,
305304 "Deprecated. No longer has an effect." ,
306305 )
306+ c .PersistentFlags ().MarkHidden ("disable-compression" )
307307}
308308
309309type AuthMode string
You can’t perform that action at this time.
0 commit comments