Skip to content
This repository was archived by the owner on Oct 8, 2020. It is now read-only.

Commit b8414af

Browse files
authoredMar 6, 2020
Merge pull request #32 from ldsec/dev
v0.3.1
2 parents c636e7b + 5d12c3e commit b8414af

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎services/service.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -741,14 +741,14 @@ func (s *Service) StartProtocol(name, typeQ string, pc ProtocolConfig,
741741
return nil, err
742742
}
743743

744-
go func(pname string) {
744+
go func(name string) {
745745
if tmpErr := pi.Dispatch(); tmpErr != nil {
746-
log.Error("Error running Dispatch ->" + name + " :" + err.Error())
746+
log.Error("Error running Dispatch ->" + name + " :" + tmpErr.Error())
747747
}
748748
}(name)
749-
go func(pname string) {
749+
go func(name string) {
750750
if tmpErr := pi.Start(); tmpErr != nil {
751-
log.Error("Error running Start ->" + name + " :" + err.Error())
751+
log.Error("Error running Start ->" + name + " :" + tmpErr.Error())
752752
}
753753
}(name)
754754

0 commit comments

Comments
 (0)
This repository has been archived.