api
api copied to clipboard
compiling api server generates osds api server along with controller binary
Issue/Feature Description: compiling api server generates osds api server along with controller binary
mkdir -p /root/go/src/github.com/sodafoundation/opensds/api/build/out
go build -ldflags '-w -s' -o /root/go/src/github.com/sodafoundation/opensds/api/build/out/bin/osdsapiserver github.com/sodafoundation/api/cmd/osdsapiserver
go build -ldflags '-w -s' -o /root/go/src/github.com/sodafoundation/opensds/api/build/out/bin/osdsctl github.com/sodafoundation/api/osdsctl
Why this issue to fixed / feature is needed(give scenarios or use cases):
How to reproduce, in case of a bug:
Other Notes / Environment Information: (Please give the env information, log link or any useful information for this issue)