From da6ab783847403a4a7b31297bcbacfde350ae764 Mon Sep 17 00:00:00 2001 From: Florian Sundermann Date: Mon, 19 Sep 2016 13:28:14 +0200 Subject: [PATCH] fixed build --- cmd/micro/rtfiles.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/micro/rtfiles.go b/cmd/micro/rtfiles.go index ac03b7a2..0e537dee 100644 --- a/cmd/micro/rtfiles.go +++ b/cmd/micro/rtfiles.go @@ -144,12 +144,12 @@ func PluginListRuntimeFiles(fileType string) []string { } // PluginAddRuntimeFile adds a file to the runtime files for a plugin -func PluginAddRuntimeFile(plugin, filetype, path string) { - fullpath := filepath.Join(configDir, "plugins", plugin, path) +func PluginAddRuntimeFile(plugin, filetype, filePath string) { + fullpath := filepath.Join(configDir, "plugins", plugin, filePath) if _, err := os.Stat(fullpath); err == nil { AddRuntimeFile(filetype, realFile(fullpath)) } else { - fullpath = path.Join("runtime", "plugins", plugin, path) + fullpath = path.Join("runtime", "plugins", plugin, filePath) AddRuntimeFile(filetype, assetFile(fullpath)) } }