Skip to content

Commit 24539be

Browse files
Merge pull request #311 from mjlshen/OSD-24357
Fix a harmless typo preventing clusterversion restrictions
2 parents b1e1f9b + 5ba418c commit 24539be

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ serve:
6666

6767
.PHONY: vet
6868
vet:
69-
$(AT)gofmt -s -l $(shell go list -f '{{ .Dir }}' ./... ) | grep ".*\.go"; if [ "$$?" = "0" ]; then gofmt -s -d $(shell go list -f '{{ .Dir }}' ./... ); exit 1; fi
69+
$(AT)go fmt ./...
7070
$(AT)go vet ./cmd/... ./pkg/...
7171

7272
.PHONY: generate
@@ -138,7 +138,7 @@ $(PACKAGE_RESOURCE_DESTINATION):
138138
.PHONY: container-test
139139
container-test:
140140
$(CONTAINER_ENGINE) run \
141-
-v $(CURDIR):$(CURDIR) \
141+
-v $(CURDIR):$(CURDIR):z \
142142
-w $(CURDIR) \
143143
-e GOFLAGS=$(GOFLAGS) \
144144
--rm \

pkg/webhooks/regularuser/common/regularuser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const (
3232
mustGatherKind = "MustGather"
3333
mustGatherGroup = "managed.openshift.io"
3434
clusterVersionKind = "ClusterVersion"
35-
clusterVersionGroup = "config.openshit.io"
35+
clusterVersionGroup = "config.openshift.io"
3636
customDomainKind = "CustomDomain"
3737
customDomainGroup = "managed.openshift.io"
3838
netNamespaceKind = "NetNamespace"

0 commit comments

Comments
 (0)