aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xsapiv1
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-06-27 15:52:14 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-06-27 15:52:14 +0200
commita93832c2e3058c55e183c487dde595bd42238bb0 (patch)
treefa91d706217327210db4aadc1a8d9f3973f8a5e0 /lib/xsapiv1
parent7f3c55f02aa6b35b3530883a6c1f71ddd1f92eb4 (diff)
Fixed sdk from local file installation
Rework sdk uuid management because previous code prevented to install local sdk using following command: xds-cli sdks install --file $HOME/xds-workspace/my_local_sdk.sh Change-Id: I20bac8a76d32b005a6775e936756c96048651766 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/xsapiv1')
-rw-r--r--lib/xsapiv1/sdks.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/xsapiv1/sdks.go b/lib/xsapiv1/sdks.go
index abb5d4a..54b941b 100644
--- a/lib/xsapiv1/sdks.go
+++ b/lib/xsapiv1/sdks.go
@@ -30,6 +30,7 @@ const (
type SDK struct {
ID string `json:"id" binding:"required"`
Name string `json:"name"`
+ UUID string `json:"uuid"`
Description string `json:"description"`
Profile string `json:"profile"`
Version string `json:"version"`