Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Commit dcf8515

Browse files
authored
Fix formatting to pass with go1.17 (#1270)
The CI job currently uses an unpinned image. This was recently updated to golang 1.17, causing all PRs to fail. This fixes those build failures
1 parent fb455b0 commit dcf8515

4 files changed

Lines changed: 4 additions & 0 deletions

File tree

tag/profile_19.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build go1.9
1516
// +build go1.9
1617

1718
package tag

tag/profile_not19.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build !go1.9
1516
// +build !go1.9
1617

1718
package tag

trace/trace_go11.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build go1.11
1516
// +build go1.11
1617

1718
package trace

trace/trace_nongo11.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
//go:build !go1.11
1516
// +build !go1.11
1617

1718
package trace

0 commit comments

Comments
 (0)