diff options
author | Christian Pointner <equinox@helsinki.at> | 2015-12-31 12:25:04 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2015-12-31 12:25:04 (GMT) |
commit | ec5bc3996e3abbdb56494ccb2b4115d976022dcc (patch) | |
tree | e06e6b9b547de060290c422c15538883a7e3a23c /src/helsinki.at/rhimportd/ctrlWebSocket.go | |
parent | 016803268a21b5b341760875ea692c58d185dbda (diff) |
fix complaints from vet
Diffstat (limited to 'src/helsinki.at/rhimportd/ctrlWebSocket.go')
-rw-r--r-- | src/helsinki.at/rhimportd/ctrlWebSocket.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/helsinki.at/rhimportd/ctrlWebSocket.go b/src/helsinki.at/rhimportd/ctrlWebSocket.go index 9549311..7f4ae0d 100644 --- a/src/helsinki.at/rhimportd/ctrlWebSocket.go +++ b/src/helsinki.at/rhimportd/ctrlWebSocket.go @@ -180,7 +180,7 @@ func webSocketProgress(step int, stepName string, progress float64, userdata int } c := userdata.(chan<- rhimport.ProgressData) select { - case c <- rhimport.ProgressData{step, stepName, progress}: + case c <- rhimport.ProgressData{Step: step, StepName: stepName, Progress: progress}: default: } return true @@ -327,6 +327,4 @@ func webSocketHandler(conf *rhimport.Config, rddb *rhimport.RdDbChan, sessions * reqchan <- *reqdata } } - - return } |