-
Notifications
You must be signed in to change notification settings - Fork 40
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
vhd inspect footer --path /path/to/disk.vhd
panics!
#11
Comments
@colemickens just confirming are you using the latest bits, there was bug in locating template path which i fixed. I just pulled the latest code and tried. It worked If you have an older version then you might want to remove 'azure-vhd-utils-for-go' from GOPATH/src/Microsoft before "go getting" the latest. |
I just destroyed my entire GOPATH and reran it. Still repros.
|
@colemickens could you try this: 1] cd $GOPATH/src/github.com/Mirosoft/azure-vhd-utils-for-go |
Yup, that works. |
cool! |
Yup, I have a similar problem with one of my projects. I'm currently solving it by distributing the binary + template folder in a docker container and encouraging people to run it that way, but that feels heavy for a tool like this. The other thing I'd considered was just embedding the template files as string constants in my Go source code, but I'm not crazy about that idea either. |
Thanks for the fast support! |
Thanks for sharing your experience, I guess in case of this tool - reasonable solution is to include template file content as string constants, I will do that. Let me know if you come across better way of handling this. |
closing, this issue is addressed by moving the templates to source file. |
The text was updated successfully, but these errors were encountered: