Skip to content

Commit

Permalink
lint warnings fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
or-else committed Jul 17, 2020
1 parent a6432fb commit 11d514b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/datamodel.go
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ func NoErrAccepted(id, topic string, ts time.Time) *ServerComMessage {
Timestamp: ts}, Id: id}
}

// NoContent indicates request was processed but resulted in no content (204).
// NoContentParams indicates request was processed but resulted in no content (204).
func NoContentParams(id, topic string, ts time.Time, params interface{}) *ServerComMessage {
return &ServerComMessage{Ctrl: &MsgServerCtrl{
Id: id,
Expand Down
2 changes: 1 addition & 1 deletion server/store/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -1245,7 +1245,7 @@ type FileDef struct {
Location string
}

// Turns 2d slice into a 1d slice.
// FlattenDoubleSlice turns 2d slice into a 1d slice.
func FlattenDoubleSlice(data [][]string) []string {
var result []string
for _, el := range data {
Expand Down

0 comments on commit 11d514b

Please sign in to comment.