sodafoundation / api

SODA Terra Project API module : is an open source implementation of SODA API connecting storage to platforms like Kubernetes, OpenStack, and VMware
Apache License 2.0
828 stars 314 forks source link

compiling api server generates osds api server along with controller binary #1308

Open Shruthi-1MN opened 4 years ago

Shruthi-1MN commented 4 years ago

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)