chore: rename helper method
This commit is contained in:
@@ -127,8 +127,8 @@ func getPluginConfigPath(pluginName string) string {
|
|||||||
return strings.Join([]string{MustGetEnv("DOKKU_LIB_ROOT"), "config", pluginName}, "/")
|
return strings.Join([]string{MustGetEnv("DOKKU_LIB_ROOT"), "config", pluginName}, "/")
|
||||||
}
|
}
|
||||||
|
|
||||||
// makePropertyPath ensures that a property path exists
|
// makePluginAppPropertyPath ensures that a property path exists
|
||||||
func makePropertyPath(pluginName string, appName string) (err error) {
|
func makePluginAppPropertyPath(pluginName string, appName string) (err error) {
|
||||||
pluginAppConfigRoot := getPluginAppPropertyPath(pluginName, appName)
|
pluginAppConfigRoot := getPluginAppPropertyPath(pluginName, appName)
|
||||||
if err = os.MkdirAll(pluginAppConfigRoot, 0755); err != nil {
|
if err = os.MkdirAll(pluginAppConfigRoot, 0755); err != nil {
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user