mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
goflags: go:build linux for tests that won't compile on other platforms (#24559)
I'm a heavy LSP user and I frequently goto:next_error. This confuses my editor on macOS.
This commit is contained in:
committed by
GitHub
parent
1f29a95c24
commit
3a18f22c18
@@ -1,6 +1,8 @@
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
//go:build linux
|
||||
|
||||
package allocrunner
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
//go:build !windows
|
||||
// +build !windows
|
||||
//go:build linux
|
||||
// +build linux
|
||||
|
||||
// todo(shoenig): Once Connect is supported on Windows, we'll need to make this
|
||||
// set of tests work there too.
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: BUSL-1.1
|
||||
|
||||
//go:build linux
|
||||
|
||||
package taskrunner
|
||||
|
||||
import (
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Copyright (c) HashiCorp, Inc.
|
||||
// SPDX-License-Identifier: MPL-2.0
|
||||
|
||||
//go:build !windows
|
||||
//go:build linux
|
||||
|
||||
package executor
|
||||
|
||||
|
||||
Reference in New Issue
Block a user