docker-volume-netshare icon indicating copy to clipboard operation
docker-volume-netshare copied to clipboard

Does not accept .netrc 'login' parameter - Proposed fix

Open 11matt556 opened this issue 5 years ago • 0 comments

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.

11matt556 avatar Feb 28 '19 23:02 11matt556