diff --git a/cmd/validate.go b/cmd/validate.go index 465d031..9383ed6 100644 --- a/cmd/validate.go +++ b/cmd/validate.go @@ -34,7 +34,7 @@ var validateCmd = &cobra.Command{ cmd.SilenceUsage = true - radixconfig, err := cmd.Flags().GetString("radixconfig") + radixconfig, err := cmd.Flags().GetString("config-file") if err != nil { return err } diff --git a/go.mod b/go.mod index 33ae113..39d8945 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ toolchain go1.21.0 require ( github.com/AzureAD/microsoft-authentication-library-for-go v1.1.0 github.com/equinor/radix-common v1.5.0 - github.com/equinor/radix-operator v1.99.1000-0.20231102102524-b631c3a617bb + github.com/equinor/radix-operator v1.44.1 github.com/fatih/color v1.15.0 github.com/go-openapi/errors v0.20.4 github.com/go-openapi/runtime v0.26.0 diff --git a/go.sum b/go.sum index 13c85b6..9b4b860 100644 --- a/go.sum +++ b/go.sum @@ -41,6 +41,8 @@ github.com/equinor/radix-common v1.5.0 h1:z5hQHlKG2x16/NnV4b9ynf9n5ZageYUewE4MAN github.com/equinor/radix-common v1.5.0/go.mod h1:UZ69U56VFtTxABi5JjGdaqn9Df5ilfTTqzUQ0riofVM= github.com/equinor/radix-operator v1.43.0 h1:25vXiqy0BZrTu1VjA/kFgP7IGQ/UoFAtx0QCq0Irm8E= github.com/equinor/radix-operator v1.43.0/go.mod h1:fa1yXgnhluKtqlBP+k/VldbkpFRpkK5eBGfGhuilqNc= +github.com/equinor/radix-operator v1.44.1 h1:ogaVIERfEbeD5QexsXXZSN6k4v4hgbtFDFHoLgBkNjA= +github.com/equinor/radix-operator v1.44.1/go.mod h1:9YBEz5p/s2YCL8FGzjvRUXgPjtrBojnjw/tAXQNzwx0= github.com/equinor/radix-operator v1.99.1000-0.20231102102524-b631c3a617bb h1:DYIK/6f7McCNF2tMAhsFfA/ml841NEItjzVCV7o1lug= github.com/equinor/radix-operator v1.99.1000-0.20231102102524-b631c3a617bb/go.mod h1:j/Lb9bcof4L+KjtHVv5GD6MqYVsxHSGsliIP6C2F8YU= github.com/evanphx/json-patch v5.6.0+incompatible h1:jBYDEEiFBPxA0v50tFdvOzQQTCvpL6mnFh5mB2/l16U=