Skip to content

Commit 8535b62

Browse files
committed
Add new go:build lines for go 1.17
Signed-off-by: Manuel Rüger <[email protected]>
1 parent d28a147 commit 8535b62

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

prometheus/collectors/dbstats_collector_go115.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14+
//go:build go1.15
1415
// +build go1.15
1516

1617
package collectors

prometheus/collectors/dbstats_collector_pre_go115.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14+
//go:build !go1.15
1415
// +build !go1.15
1516

1617
package collectors

prometheus/process_collector_other.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14+
//go:build !windows
1415
// +build !windows
1516

1617
package prometheus

prometheus/process_collector_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14+
//go:build linux
1415
// +build linux
1516

1617
package prometheus

0 commit comments

Comments
 (0)