summaryrefslogtreecommitdiffhomepage
path: root/runsc/cmd
diff options
context:
space:
mode:
authorJamie Liu <jamieliu@google.com>2021-07-20 16:24:59 -0700
committergVisor bot <gvisor-bot@google.com>2021-07-20 16:28:45 -0700
commit1ad382220048339cb1aeecef7d69b9ddffd9168c (patch)
treec555c63fb053fbe05d245e37463bc181043c6279 /runsc/cmd
parent7ced03b3831983e35cb25ad0a9d5632ea322f9a4 (diff)
Add go:build directives as required by Go 1.17's gofmt.
PiperOrigin-RevId: 385894869
Diffstat (limited to 'runsc/cmd')
-rw-r--r--runsc/cmd/mitigate_extras.go3
-rw-r--r--runsc/cmd/mitigate_test.go1
2 files changed, 4 insertions, 0 deletions
diff --git a/runsc/cmd/mitigate_extras.go b/runsc/cmd/mitigate_extras.go
index 2cb2833f0..2c3e17cd6 100644
--- a/runsc/cmd/mitigate_extras.go
+++ b/runsc/cmd/mitigate_extras.go
@@ -12,6 +12,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+//go:build go1.1
+// +build go1.1
+
package cmd
import (
diff --git a/runsc/cmd/mitigate_test.go b/runsc/cmd/mitigate_test.go
index 59ec70d08..51755d9f3 100644
--- a/runsc/cmd/mitigate_test.go
+++ b/runsc/cmd/mitigate_test.go
@@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+//go:build amd64
// +build amd64
package cmd