Skip to content

Commit 57b0081

Browse files
committed
fix(client-go): print version after config:set
1 parent 18dd868 commit 57b0081

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

client-go/cmd/config.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func ConfigSet(appID string, configVars []string) error {
9494

9595
quit := progress()
9696
configObj := api.Config{Values: configMap}
97-
_, err = config.Set(c, appID, configObj)
97+
configObj, err = config.Set(c, appID, configObj)
9898

9999
quit <- true
100100
<-quit
@@ -103,7 +103,11 @@ func ConfigSet(appID string, configVars []string) error {
103103
return err
104104
}
105105

106-
fmt.Print("done\n\n")
106+
if release, ok := configObj.Values["DEIS_RELEASE"]; ok {
107+
fmt.Printf("done, %s\n\n", release)
108+
} else {
109+
fmt.Print("done\n\n")
110+
}
107111

108112
return ConfigList(appID, false)
109113
}

0 commit comments

Comments
 (0)