Skip to content

Commit

Permalink
Run (gofmt -s -w)
Browse files Browse the repository at this point in the history
Go 1.17 introduces a much more reasonable build constraint format, and gofmt now fails without using it.

Sadly we still need the old format as well, to support <1.17 builds.

Signed-off-by: Miloslav Trmač <mitr@redhat.com>
  • Loading branch information
mtrmac committed Aug 21, 2021
1 parent 5da1b0f commit 54b0c4b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/skopeo/cgo_pthread_ordering_workaround.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !containers_image_openpgp
// +build !containers_image_openpgp

package main
Expand Down
1 change: 1 addition & 0 deletions cmd/skopeo/unshare.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !linux
// +build !linux

package main
Expand Down
1 change: 1 addition & 0 deletions integration/openshift_shell_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build openshift_shell
// +build openshift_shell

package main
Expand Down

0 comments on commit 54b0c4b

Please sign in to comment.