Skip to content

Commit

Permalink
Add new go:build lines for go 1.17
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
  • Loading branch information
mrueg committed Dec 17, 2021
1 parent d28a147 commit 8535b62
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions prometheus/collectors/dbstats_collector_go115.go
Expand Up @@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build go1.15
// +build go1.15

package collectors
Expand Down
1 change: 1 addition & 0 deletions prometheus/collectors/dbstats_collector_pre_go115.go
Expand Up @@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !go1.15
// +build !go1.15

package collectors
Expand Down
1 change: 1 addition & 0 deletions prometheus/process_collector_other.go
Expand Up @@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build !windows
// +build !windows

package prometheus
Expand Down
1 change: 1 addition & 0 deletions prometheus/process_collector_test.go
Expand Up @@ -11,6 +11,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//go:build linux
// +build linux

package prometheus
Expand Down

0 comments on commit 8535b62

Please sign in to comment.