Skip to content

Instantly share code, notes, and snippets.

View ryanewk's full-sized avatar

ryanewk

  • MasterCard
  • New York
View GitHub Profile
E0319 17:17:01.749415 1 runtime.go:67] Observed a panic: not a string
/Users/rosemarywang/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190404173353-6a84e37a896d/pkg/util/runtime/runtime.go:76
/Users/rosemarywang/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190404173353-6a84e37a896d/pkg/util/runtime/runtime.go:65
/Users/rosemarywang/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190404173353-6a84e37a896d/pkg/util/runtime/runtime.go:51
/usr/local/Cellar/go/1.13.3/libexec/src/runtime/panic.go:679
/Users/rosemarywang/go/pkg/mod/github.com/zclconf/go-cty@v1.1.0/cty/value_ops.go:1026
/Users/rosemarywang/terraform-k8s/operator/pkg/controller/workspace/tfc_output.go:36
/Users/rosemarywang/terraform-k8s/operator/pkg/controller/workspace/tfc_output.go:53
/Users/rosemarywang/terraform-k8s/operator/pkg/controller/workspace/workspace_controller.go:192
/Users/rosemarywang/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.2.0/pkg/internal/controller/controller.go:216
$ go run main.go -somebool false -someint 5
somebool: true, someint: 1
$ go run main.go -somebool=false -someint=5 <<<
somebool: false, someint: 5