Skip to content

Commit

Permalink
Remove beta messages in Docker & Kubernetes autodiscover providers (e…
Browse files Browse the repository at this point in the history
…lastic#16760)

We already released this as GA, so these messages were actually outdated
  • Loading branch information
Carlos Pérez-Aradros Herce authored Mar 4, 2020
1 parent f962d25 commit acde62d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions libbeat/autodiscover/providers/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import (
"github.com/elastic/beats/v7/libbeat/autodiscover/template"
"github.com/elastic/beats/v7/libbeat/common"
"github.com/elastic/beats/v7/libbeat/common/bus"
"github.com/elastic/beats/v7/libbeat/common/cfgwarn"
"github.com/elastic/beats/v7/libbeat/common/docker"
"github.com/elastic/beats/v7/libbeat/common/safemapstr"
"github.com/elastic/beats/v7/libbeat/logp"
Expand Down Expand Up @@ -62,8 +61,6 @@ type Provider struct {
func AutodiscoverBuilder(bus bus.Bus, uuid uuid.UUID, c *common.Config) (autodiscover.Provider, error) {
logger := logp.NewLogger("docker")

cfgwarn.Beta("The docker autodiscover is beta")

errWrap := func(err error) error {
return errors.Wrap(err, "error setting up docker autodiscover provider")
}
Expand Down
2 changes: 0 additions & 2 deletions libbeat/autodiscover/providers/kubernetes/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import (
"github.com/elastic/beats/v7/libbeat/autodiscover/template"
"github.com/elastic/beats/v7/libbeat/common"
"github.com/elastic/beats/v7/libbeat/common/bus"
"github.com/elastic/beats/v7/libbeat/common/cfgwarn"
"github.com/elastic/beats/v7/libbeat/common/kubernetes"
"github.com/elastic/beats/v7/libbeat/logp"
)
Expand Down Expand Up @@ -59,7 +58,6 @@ type Provider struct {

// AutodiscoverBuilder builds and returns an autodiscover provider
func AutodiscoverBuilder(bus bus.Bus, uuid uuid.UUID, c *common.Config) (autodiscover.Provider, error) {
cfgwarn.Beta("The kubernetes autodiscover is beta")
logger := logp.NewLogger("autodiscover")

errWrap := func(err error) error {
Expand Down

0 comments on commit acde62d

Please sign in to comment.