Closed martindekov closed 6 years ago
We need to check if newlines are present in the file where we load our docker secrets from.Some editors may add extra newline at the end making the secret invalid.
Signed-off-by: Martin Dekov (VMware) mdekov@vmware.com
Adding check to see if newlines are present in the file from which we create docker secret for derek-secret-key.
Add check in main.go if newline is present in the secret string loaded from the file and if so it removes it.
It solves issue #72.
git commit -s
Awesome job!
We need to check if newlines are present in the file where we load our docker secrets from.Some editors may add extra newline at the end making the secret invalid.
Signed-off-by: Martin Dekov (VMware) mdekov@vmware.com
Adding check to see if newlines are present in the file from which we create docker secret for derek-secret-key.
Description
Add check in main.go if newline is present in the secret string loaded from the file and if so it removes it.
Motivation and Context
It solves issue #72.
How Has This Been Tested?
Types of changes
Checklist:
git commit -s