summaryrefslogtreecommitdiff
path: root/pkg/specgen/generate
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-03-18 11:24:58 +0100
committerGitHub <noreply@github.com>2022-03-18 11:24:58 +0100
commitf8b04bf56c44411e39e355446c4a311dc9fcb373 (patch)
tree50bbd35bb2b90c206e82c74771dbef43593c0d9d /pkg/specgen/generate
parentd72a829f59992dfe29cb84125fde3cce631e6436 (diff)
parentea08765f400d828907f231baa84bd880a00d95f1 (diff)
downloadpodman-f8b04bf56c44411e39e355446c4a311dc9fcb373.tar.gz
podman-f8b04bf56c44411e39e355446c4a311dc9fcb373.tar.bz2
podman-f8b04bf56c44411e39e355446c4a311dc9fcb373.zip
Merge pull request #13552 from vrothberg/go1.18
go fmt: use go 1.18 conditional-build syntax
Diffstat (limited to 'pkg/specgen/generate')
-rw-r--r--pkg/specgen/generate/config_linux_cgo.go1
-rw-r--r--pkg/specgen/generate/config_linux_nocgo.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/pkg/specgen/generate/config_linux_cgo.go b/pkg/specgen/generate/config_linux_cgo.go
index 239655c72..efab6679a 100644
--- a/pkg/specgen/generate/config_linux_cgo.go
+++ b/pkg/specgen/generate/config_linux_cgo.go
@@ -1,3 +1,4 @@
+//go:build linux && cgo
// +build linux,cgo
package generate
diff --git a/pkg/specgen/generate/config_linux_nocgo.go b/pkg/specgen/generate/config_linux_nocgo.go
index 9ead739a7..99b0c4eb2 100644
--- a/pkg/specgen/generate/config_linux_nocgo.go
+++ b/pkg/specgen/generate/config_linux_nocgo.go
@@ -1,3 +1,4 @@
+//go:build linux && !cgo
// +build linux,!cgo
package generate