Skip to content

Commit

Permalink
Build on newly released version of go, go 1.15 (open-telemetry#1064)
Browse files Browse the repository at this point in the history
* Build on newly release version of go, go 1.15

Remove 1.13 build job per policy of supporting past two releases.

* String conversions in 1.15 require byte, rune or string.

Simply passing an integer now issues a warning.
  • Loading branch information
evantorrie committed Sep 10, 2020
1 parent f9a21be commit dab2a0a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ executors:
current-go:
resource_class: large
docker:
- image: cimg/go:1.14
- image: cimg/go:1.15
prior-go:
resource_class: large
docker:
- image: cimg/go:1.13
- image: cimg/go:1.14

build-template: &build-template
environment:
Expand Down
2 changes: 1 addition & 1 deletion sdk/export/metric/exportkind_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
)

func TestExportKindIdentity(t *testing.T) {
akind := aggregation.Kind(0)
akind := aggregation.Kind("Noop")

require.Equal(t, CumulativeExporter, CumulativeExporter.ExportKindFor(nil, akind))
require.Equal(t, DeltaExporter, DeltaExporter.ExportKindFor(nil, akind))
Expand Down

0 comments on commit dab2a0a

Please sign in to comment.