Skip to content

Commit

Permalink
chore: Unify YAML parsing with yaml.v3 throughout the project
Browse files Browse the repository at this point in the history
- Replaced instances of yaml.v2
- Adopted yaml.v3 consistently to simplify maintenance and ensure consistent (parsing) behavior

Signed-off-by: Michael Adler <[email protected]>
  • Loading branch information
michaeladler committed Oct 23, 2023
1 parent 03e3a4f commit 41af89f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/wfxctl/cmd/workflow/validate/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/Southclaws/fault"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"

"github.com/siemens/wfx/generated/model"
"github.com/siemens/wfx/workflow"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ require (
go.uber.org/goleak v1.2.1
golang.org/x/term v0.13.0
gopkg.in/go-playground/colors.v1 v1.2.0
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
)

Expand Down Expand Up @@ -106,4 +105,5 @@ require (
golang.org/x/net v0.17.0 // indirect
golang.org/x/sync v0.3.0 // indirect
golang.org/x/sys v0.13.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
)

0 comments on commit 41af89f

Please sign in to comment.