Skip to content

Commit 11d514b

Browse files
committed
lint warnings fixed
1 parent a6432fb commit 11d514b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

server/datamodel.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ func NoErrAccepted(id, topic string, ts time.Time) *ServerComMessage {
852852
Timestamp: ts}, Id: id}
853853
}
854854

855-
// NoContent indicates request was processed but resulted in no content (204).
855+
// NoContentParams indicates request was processed but resulted in no content (204).
856856
func NoContentParams(id, topic string, ts time.Time, params interface{}) *ServerComMessage {
857857
return &ServerComMessage{Ctrl: &MsgServerCtrl{
858858
Id: id,

server/store/types/types.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1245,7 +1245,7 @@ type FileDef struct {
12451245
Location string
12461246
}
12471247

1248-
// Turns 2d slice into a 1d slice.
1248+
// FlattenDoubleSlice turns 2d slice into a 1d slice.
12491249
func FlattenDoubleSlice(data [][]string) []string {
12501250
var result []string
12511251
for _, el := range data {

0 commit comments

Comments
 (0)