From ee79b21ba5711aaba0f71eaecaafea1ddff515cc Mon Sep 17 00:00:00 2001 From: Ishan Shanware Date: Thu, 1 Feb 2024 23:17:29 +0530 Subject: [PATCH] [chore] remove go build instructions from doc.go --- receiver/aerospikereceiver/doc.go | 2 -- receiver/couchdbreceiver/doc.go | 2 -- receiver/elasticsearchreceiver/doc.go | 2 -- receiver/kafkametricsreceiver/doc.go | 2 -- receiver/kubeletstatsreceiver/doc.go | 2 -- receiver/mongodbatlasreceiver/doc.go | 2 -- receiver/mongodbreceiver/doc.go | 2 -- receiver/nginxreceiver/doc.go | 2 -- receiver/zookeeperreceiver/doc.go | 2 -- 9 files changed, 18 deletions(-) diff --git a/receiver/aerospikereceiver/doc.go b/receiver/aerospikereceiver/doc.go index 3b0d628ba11f..42bc176c5692 100644 --- a/receiver/aerospikereceiver/doc.go +++ b/receiver/aerospikereceiver/doc.go @@ -1,8 +1,6 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 -//go:build !windows - //go:generate mdatagen metadata.yaml package aerospikereceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/aerospikereceiver" diff --git a/receiver/couchdbreceiver/doc.go b/receiver/couchdbreceiver/doc.go index 33c0395391a9..7e3c64e96e9d 100644 --- a/receiver/couchdbreceiver/doc.go +++ b/receiver/couchdbreceiver/doc.go @@ -1,8 +1,6 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 -//go:build !windows - //go:generate mdatagen metadata.yaml package couchdbreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/couchdbreceiver" diff --git a/receiver/elasticsearchreceiver/doc.go b/receiver/elasticsearchreceiver/doc.go index f1490accbd5b..d6cca7154121 100644 --- a/receiver/elasticsearchreceiver/doc.go +++ b/receiver/elasticsearchreceiver/doc.go @@ -1,8 +1,6 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 -//go:build !windows - //go:generate mdatagen metadata.yaml package elasticsearchreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/elasticsearchreceiver" diff --git a/receiver/kafkametricsreceiver/doc.go b/receiver/kafkametricsreceiver/doc.go index af0c5b90de4a..6193965e967b 100644 --- a/receiver/kafkametricsreceiver/doc.go +++ b/receiver/kafkametricsreceiver/doc.go @@ -1,8 +1,6 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 -//go:build !windows - //go:generate mdatagen metadata.yaml package kafkametricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kafkametricsreceiver" diff --git a/receiver/kubeletstatsreceiver/doc.go b/receiver/kubeletstatsreceiver/doc.go index ad029e82c0d3..c9fd0ab35035 100644 --- a/receiver/kubeletstatsreceiver/doc.go +++ b/receiver/kubeletstatsreceiver/doc.go @@ -1,8 +1,6 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 -//go:build !windows - //go:generate mdatagen metadata.yaml package kubeletstatsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/kubeletstatsreceiver" diff --git a/receiver/mongodbatlasreceiver/doc.go b/receiver/mongodbatlasreceiver/doc.go index 266b296d7a1a..c0b9f05cc07c 100644 --- a/receiver/mongodbatlasreceiver/doc.go +++ b/receiver/mongodbatlasreceiver/doc.go @@ -1,8 +1,6 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 -//go:build !windows - //go:generate mdatagen metadata.yaml package mongodbatlasreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mongodbatlasreceiver" diff --git a/receiver/mongodbreceiver/doc.go b/receiver/mongodbreceiver/doc.go index b20fd1e7ba68..bc94731104d0 100644 --- a/receiver/mongodbreceiver/doc.go +++ b/receiver/mongodbreceiver/doc.go @@ -1,8 +1,6 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 -//go:build !windows - //go:generate mdatagen metadata.yaml package mongodbreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/mongodbreceiver" diff --git a/receiver/nginxreceiver/doc.go b/receiver/nginxreceiver/doc.go index 0c865970562b..655b0a80d2f2 100644 --- a/receiver/nginxreceiver/doc.go +++ b/receiver/nginxreceiver/doc.go @@ -1,8 +1,6 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 -//go:build !windows - //go:generate mdatagen metadata.yaml package nginxreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/nginxreceiver" diff --git a/receiver/zookeeperreceiver/doc.go b/receiver/zookeeperreceiver/doc.go index fb0fd6bc25dd..b37584c252fa 100644 --- a/receiver/zookeeperreceiver/doc.go +++ b/receiver/zookeeperreceiver/doc.go @@ -1,8 +1,6 @@ // Copyright The OpenTelemetry Authors // SPDX-License-Identifier: Apache-2.0 -//go:build !windows - //go:generate mdatagen metadata.yaml package zookeeperreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/zookeeperreceiver"