Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add location library to elastic-package #303

Merged
merged 18 commits into from
Apr 6, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix bug in install check
  • Loading branch information
fearful-symmetry committed Apr 2, 2021
commit c89b776025e262460ebc4a0509fc1569ba04aee7
2 changes: 1 addition & 1 deletion internal/install/install.go
Original file line number Diff line number Diff line change
@@ -76,7 +76,7 @@ func checkIfAlreadyInstalled(elasticPackagePath *locations.LocationManager) (boo
if err != nil {
return false, errors.Wrapf(err, "stat file failed (path: %s)", elasticPackagePath)
}
return checkIfLatestVersionInstalled(elasticPackagePath.StackDir())
return checkIfLatestVersionInstalled(elasticPackagePath.RootDir())
}

func createElasticPackageDirectory(elasticPackagePath *locations.LocationManager) error {