Skip to content

Commit

Permalink
rm-disable-compression: hide the flag --disable-compression
Browse files Browse the repository at this point in the history
  • Loading branch information
maelvls committed Nov 22, 2024
1 parent 20d9b6f commit 695b95c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/agent/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,8 @@ type AgentCmdFlags struct {
// Prometheus (--enable-metrics) enables the Prometheus metrics server.
Prometheus bool

// DisableCompression (--disable-compression) disables the GZIP compression
// when uploading the data. Useful for debugging purposes, or when an
// intermediate proxy doesn't like compressed data.
// DisableCompression (--disable-compression) is deprecated and no longer
// has an effect.
DisableCompression bool
}

Expand Down Expand Up @@ -304,6 +303,7 @@ func InitAgentCmdFlags(c *cobra.Command, cfg *AgentCmdFlags) {
false,
"Deprecated. No longer has an effect.",
)
c.PersistentFlags().MarkHidden("disable-compression")
}

type AuthMode string
Expand Down

0 comments on commit 695b95c

Please sign in to comment.