docker-volume-netshare
docker-volume-netshare copied to clipboard
Does not accept .netrc 'login' parameter - Proposed fix
Problem
The documentation has the following .netrc example configuration:
//.netrc machine some_hostname username jeremy password somepass domain optional security optional fileMode optional dirMode optional
However, this does not conform to the GNU documentation for the .netrc file at https://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html which has a 'login' parameter but no 'username' parameter.
This causes issues with other programs that use the .netrc file since they do not recognize the 'username' parameter. Similarly, using the 'login' parameter causes issues with docker-volume-netshare.
Solution... maybe
I am not familiar Go, but it looks like changing this line to 'login' would fix the issue.