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

Update module gopkg.in/yaml.v2 to v3 #347

Merged
merged 1 commit into from
Apr 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions api/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/onsi/gomega v1.32.0
github.com/openstack-k8s-operators/lib-common/modules/common v0.3.1-0.20240408095526-357d8fffa034
github.com/openstack-k8s-operators/lib-common/modules/storage v0.3.1-0.20240408095526-357d8fffa034
gopkg.in/yaml.v2 v2.4.0
gopkg.in/yaml.v3 v3.0.1
k8s.io/api v0.28.8
k8s.io/apimachinery v0.28.8
k8s.io/client-go v0.28.8
Expand Down Expand Up @@ -69,7 +69,7 @@ require (
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/protobuf v1.33.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
k8s.io/apiextensions-apiserver v0.28.8 // indirect
k8s.io/component-base v0.28.8 // indirect
k8s.io/klog/v2 v2.110.1 // indirect
Expand Down
4 changes: 2 additions & 2 deletions api/v1beta1/openstackansibleee_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"regexp"

"github.com/go-playground/validator/v10"
"gopkg.in/yaml.v2"
"gopkg.in/yaml.v3"
apierrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
Expand Down Expand Up @@ -153,7 +153,7 @@ func (spec *OpenStackAnsibleEESpec) ValidateCreate() field.ErrorList {
errors = append(errors, field.Invalid(
field.NewPath("spec.env"),
spec.Env,
fmt.Sprintf("ansible-runner does not support ANSIBLE_ENABLE_TASK_DEBUGGER"),
"ansible-runner does not support ANSIBLE_ENABLE_TASK_DEBUGGER",
))
}
}
Expand Down
Loading