mirror of
https://github.com/helmfile/helmfile.git
synced 2026-10-18 00:33:28 +02:00
fix helmfile diff error in window platform
Signed-off-by: yxxhero <aiopsclub@163.com>
This commit is contained in:
+1
-1
@@ -26,7 +26,7 @@ func isLocalChart(chart string) bool {
|
||||
|
||||
return chart == "" ||
|
||||
filepath.IsAbs(chart) ||
|
||||
!strings.Contains(chart, fmt.Sprintf("%c", os.PathSeparator)) ||
|
||||
!strings.Contains(chart, "/") ||
|
||||
(len(strings.Split(chart, "/")) != 2 &&
|
||||
len(strings.Split(chart, "/")) != 3)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user