Skip to content

Commit

Permalink
fix: make field optional
Browse files Browse the repository at this point in the history
Signed-off-by: Jesús Fernández <7312236+fernandezcuesta@users.noreply.github.com>
  • Loading branch information
fernandezcuesta committed Oct 27, 2024
1 parent 094c24c commit 4c7fdfc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ NPROCS ?= 1
# to half the number of CPU cores.
GO_TEST_PARALLEL := $(shell echo $$(( $(NPROCS) / 2 )))

GO_REQUIRED_VERSION ?= 1.21
GO_REQUIRED_VERSION ?= 1.22
GO_STATIC_PACKAGES = $(GO_PROJECT)/cmd/provider $(GO_PROJECT)/cmd/generator
GO_LDFLAGS += -X $(GO_PROJECT)/internal/version.Version=$(VERSION)
GO_SUBDIRS += cmd internal apis
Expand Down
2 changes: 1 addition & 1 deletion apis/v1beta1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type ProviderConfigSpec struct {
Credentials ProviderCredentials `json:"credentials"`
// The PagerDuty service region to use. If omitted uses US region.
// +kubebuilder:validation:Enum=eu
// +optional
// +kubebuilder:validation:Optional
ServiceRegion string `json:"serviceRegion"`
}

Expand Down

0 comments on commit 4c7fdfc

Please sign in to comment.