We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
We should refactor the join command to have tested SSH commands just like I did for the install command in this patch: fd18d77#diff-0ad45407eb1c7c8830d260d38994acb374ec5b7e36bc891e54406206074e5a99
By refactoring to a method, testing becomes easier and regression is less likely between changes and adding additional features such as #274.
String concatenation with fmt.Sprintf, no regression tests
Copy the approach of makeInstallExec but for makeJoinExec perhaps?
makeInstallExec
makeJoinExec
Note that there are TWO ssh commands here - one for joining an agent, and one for joining an agent that acts as a backup / secondary server.
See also: join command - https://github.com/alexellis/k3sup/blob/master/cmd/join.go#L205
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected Behaviour
We should refactor the join command to have tested SSH commands just like I did for the install command in this patch: fd18d77#diff-0ad45407eb1c7c8830d260d38994acb374ec5b7e36bc891e54406206074e5a99
By refactoring to a method, testing becomes easier and regression is less likely between changes and adding additional features such as #274.
Current Behaviour
String concatenation with fmt.Sprintf, no regression tests
Possible Solution
Copy the approach of
makeInstallExec
but formakeJoinExec
perhaps?Note that there are TWO ssh commands here - one for joining an agent, and one for joining an agent that acts as a backup / secondary server.
See also: join command - https://github.com/alexellis/k3sup/blob/master/cmd/join.go#L205
The text was updated successfully, but these errors were encountered: