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

Fixes #2789 #2790

Merged
merged 2 commits into from
Jun 3, 2017
Merged

Fixes #2789 #2790

merged 2 commits into from
Jun 3, 2017

Conversation

ebekker
Copy link
Contributor

@ebekker ebekker commented Jun 1, 2017

Corrects DynamoDB record path resolution when running Vault server on
Windows

Corrects DynamoDB record path resolution when running Vault server on
Windows
@briankassouf
Copy link
Contributor

@ebekker nice catch! I think the path.Dir function should work as it doesn't use OS specifics. https://golang.org/pkg/path/#Dir

@briankassouf briankassouf added this to the 0.7.3 milestone Jun 1, 2017
@ebekker
Copy link
Contributor Author

ebekker commented Jun 1, 2017

Ah yes, much nicer, the global replace of ToSlash felt a bit icky.

Applying wholesale switch from `filepath` to `path` package for record
path manipulation, which ignores OS-specific file separators
@ebekker
Copy link
Contributor Author

ebekker commented Jun 1, 2017

@seiffert -- since you are the original author of this backend, wondering if you can do a quick sanity check to make sure that I didn't miss some nuance of your original implementation by doing a switch from filepath to path package in manipulating the record Paths?

@seiffert
Copy link
Contributor

seiffert commented Jun 2, 2017

This change makes sense to me. Thanks!

Copy link
Contributor

@briankassouf briankassouf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@briankassouf briankassouf requested a review from vishalnayak June 2, 2017 21:39
@jefferai jefferai merged commit 0701658 into hashicorp:master Jun 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants