Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #21 from flanksource/fix-yaml-line-wrap
Browse files Browse the repository at this point in the history
Pin gopkg.in/yaml.v2 to v2.3.0, version using the infinite line wrap length
  • Loading branch information
teodor-pripoae authored Jan 18, 2021
2 parents c64fe88 + 515f6ba commit 0eddef4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
zaplogfmt "github.com/sykesm/zap-logfmt"
uzap "go.uber.org/zap"
"go.uber.org/zap/zapcore"
"gopkg.in/yaml.v2"
"k8s.io/apimachinery/pkg/runtime"
clientgoscheme "k8s.io/client-go/kubernetes/scheme"
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
Expand All @@ -47,6 +48,8 @@ func init() {

_ = templatingflanksourcecomv1.AddToScheme(scheme)
// +kubebuilder:scaffold:scheme

yaml.FutureLineWrap()
}

func setupLogger(opts zap.Options) {
Expand Down

0 comments on commit 0eddef4

Please sign in to comment.