add all endpoint to makefile (#31)
* Fix gofmt issue. * add make file endpoint: all
This commit is contained in:
parent
e2a0eeda76
commit
b139527293
2
Makefile
2
Makefile
|
@ -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) \
|
||||
|
|
|
@ -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"`
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue