Skip to content

Commit

Permalink
revert to yaml.v2 where UnmarshalStrict is used
Browse files Browse the repository at this point in the history
  • Loading branch information
rhybrillou committed Jul 7, 2023
1 parent b544b33 commit 209ba3f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion internal/dinosaur/pkg/config/dataplane_cluster_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
userv1 "github.com/openshift/api/user/v1"
"github.com/spf13/pflag"
"github.com/stackrox/acs-fleet-manager/pkg/api"
"gopkg.in/yaml.v3"
"gopkg.in/yaml.v2"
"k8s.io/client-go/tools/clientcmd"
clientcmdapi "k8s.io/client-go/tools/clientcmd/api"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/dinosaur/pkg/config/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/stackrox/acs-fleet-manager/internal/dinosaur/pkg/dinosaurs/types"
"github.com/stackrox/acs-fleet-manager/pkg/environments"
"github.com/stackrox/acs-fleet-manager/pkg/shared"
"gopkg.in/yaml.v3"
"gopkg.in/yaml.v2"
)

// InstanceType ...
Expand Down
2 changes: 1 addition & 1 deletion pkg/acl/access_control_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/spf13/pflag"
"github.com/stackrox/acs-fleet-manager/pkg/shared"
"github.com/stackrox/acs-fleet-manager/pkg/shared/utils/arrays"
"gopkg.in/yaml.v3"
"gopkg.in/yaml.v2"
)

// DeniedUsers ...
Expand Down
2 changes: 1 addition & 1 deletion pkg/auth/roles_authz.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"github.com/spf13/pflag"
"github.com/stackrox/acs-fleet-manager/pkg/environments"
"github.com/stackrox/acs-fleet-manager/pkg/shared"
"gopkg.in/yaml.v3"
"gopkg.in/yaml.v2"
)

var _ environments.ConfigModule = (*AdminRoleAuthZConfig)(nil)
Expand Down
2 changes: 1 addition & 1 deletion pkg/quotamanagement/quota_management_list_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/spf13/pflag"
"github.com/stackrox/acs-fleet-manager/pkg/logger"
"github.com/stackrox/acs-fleet-manager/pkg/shared"
"gopkg.in/yaml.v3"
"gopkg.in/yaml.v2"
)

// QuotaManagementListConfig ...
Expand Down
2 changes: 1 addition & 1 deletion pkg/shared/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"strconv"
"strings"

"gopkg.in/yaml.v3"
"gopkg.in/yaml.v2"
)

var projectRootDirectory = GetProjectRootDir()
Expand Down

0 comments on commit 209ba3f

Please sign in to comment.