Skip to content

Commit

Permalink
fix(applications): Don't try to name the charts dir to the same name
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Arch committed Dec 7, 2018
1 parent 5394a08 commit dfefca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/jx/cmd/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ func (options *ImportOptions) renameChartToMatchAppName() error {
if err != nil {
return err
}
if exists {
if exists && oldChartsDir != newChartsDir {
err = util.RenameDir(oldChartsDir, newChartsDir, false)
if err != nil {
return fmt.Errorf("error renaming %s to %s, %v", oldChartsDir, newChartsDir, err)
Expand Down

0 comments on commit dfefca4

Please sign in to comment.