add all endpoint to makefile (#31)

* Fix gofmt issue.

* add make file endpoint: all
This commit is contained in:
Hongcai Ren 2020-11-23 12:50:48 +08:00 committed by GitHub
parent e2a0eeda76
commit b139527293
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -18,6 +18,8 @@ VERSION?=$(shell git describe --tags)
# We don't have tags yet, so just use hardcode one
VERSION="latest"
all: karmada-controller-manager karmadactl
karmada-controller-manager: $(SOURCES)
CGO_ENABLED=0 GOOS=$(GOOS) go build \
-ldflags $(LDFLAGS) \

View File

@ -134,7 +134,7 @@ type NodeSummary struct {
type MemberClusterList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
// Items holds a list of MemberCluster.
Items []MemberCluster `json:"items"`
Items []MemberCluster `json:"items"`
}