refactor: rename command to :set-property

This will allow us to set other property values for the buildpacks plugin.
This commit is contained in:
Jose Diaz-Gonzalez committed 2021-01-23 18:17:40 -05:00
1 parent 5d9157bc40
commit f81c802ecc
9 files changed
+42 -36

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ func TriggerBuildpackStackName(appName string) error {
b, _ := common.PlugnTriggerOutput("config-get", []string{appName, "DOKKU_IMAGE"}...)
dokkuImage := strings.TrimSpace(string(b[:]))
if dokkuImage != "" {
common.LogWarn("Deprecated: use buildpacks:stack-set instead of specifying DOKKU_IMAGE environment variable")
common.LogWarn("Deprecated: use buildpacks:set-property instead of specifying DOKKU_IMAGE environment variable")
fmt.Println(dokkuImage)
return nil
}