Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rmap/map.go
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ func (sm *Map) run() {
sm.logger.Debug("deleted", "key", key)
default:
sm.content[key] = val
sm.logger.Debug("set", key, val)
sm.logger.Debug("set", "key", key, "val", val)
}
select {
case sm.ichan <- struct{}{}:
Expand Down
2 changes: 1 addition & 1 deletion rmap/map_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ func TestLogs(t *testing.T) {

// Check that the logs contain the expected messages
assert.Contains(t, buf.String(), `joined`)
assert.Contains(t, buf.String(), `foo=bar`)
assert.Contains(t, buf.String(), `key=foo val=bar`)
assert.Contains(t, buf.String(), `msg=deleted key=foo`)
assert.Contains(t, buf.String(), `reset`)
assert.Contains(t, buf.String(), `stopped`)
Expand Down