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 {
168
168
// Prometheus (--enable-metrics) enables the Prometheus metrics server.
169
169
Prometheus bool
170
170
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.
174
173
DisableCompression bool
175
174
}
176
175
@@ -304,6 +303,7 @@ func InitAgentCmdFlags(c *cobra.Command, cfg *AgentCmdFlags) {
304
303
false ,
305
304
"Deprecated. No longer has an effect." ,
306
305
)
306
+ c .PersistentFlags ().MarkHidden ("disable-compression" )
307
307
}
308
308
309
309
type AuthMode string
You can’t perform that action at this time.
0 commit comments