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 0bf441d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion prometheus/collectors/dbstats_collector_go115.go
Expand Up @@ -11,7 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

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

package collectors

Expand Down
3 changes: 2 additions & 1 deletion prometheus/collectors/dbstats_collector_pre_go115.go
Expand Up @@ -11,7 +11,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

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

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 0bf441d

Please sign in to comment.