client/run/run.go
Function Command
has 85 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func Command(command string, output chan string) (int, error) {
// Get the hostnasme of the server we're running on
hostname, err := os.Hostname()
if err != nil {
Function Command
has 10 return statements (exceeds 4 allowed). Open
Open
func Command(command string, output chan string) (int, error) {
// Get the hostnasme of the server we're running on
hostname, err := os.Hostname()
if err != nil {