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 .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Lint code
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: v2.12.2
version: v2.13.1

unit-tests:
name: "Unit Tests"
Expand Down
4 changes: 2 additions & 2 deletions client/rpc_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func NewRPCClient(addr string) (*RPCClient, error) {
func (c *Config) newMsgpackHandle() *codec.MsgpackHandle {
return &codec.MsgpackHandle{
WriteExt: true,
BasicHandle: codec.BasicHandle{
BasicHandle: codec.BasicHandle{ //nolint:staticcheck
TimeNotBuiltin: !c.MsgpackUseNewTimeFormat,
},
}
Expand Down Expand Up @@ -377,7 +377,7 @@ func (c *RPCClient) RemoveKey(key string) (map[string]string, error) {

// ListKeys returns all of the active keys on each member of the cluster
func (c *RPCClient) ListKeys() (map[string]int, int, map[string]string, error) {
header := requestHeader{
header := requestHeader{ //nolint:staticcheck
Command: listKeysCommand,
Seq: c.getSeq(),
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/serf/command/agent/ipc.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ func (i *AgentIPC) isStopped() bool {
func (i *AgentIPC) newMsgpackHandle() *codec.MsgpackHandle {
return &codec.MsgpackHandle{
WriteExt: true,
BasicHandle: codec.BasicHandle{
BasicHandle: codec.BasicHandle{ //nolint:staticcheck
TimeNotBuiltin: !i.msgpackUseNewTimeFormat,
},
}
Expand Down
2 changes: 1 addition & 1 deletion serf/messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func encodeMessage(t messageType, msg any, msgpackUseNewTimeFormat bool) ([]byte
buf.WriteByte(uint8(t))

handle := codec.MsgpackHandle{
BasicHandle: codec.BasicHandle{
BasicHandle: codec.BasicHandle{ //nolint:staticcheck
TimeNotBuiltin: !msgpackUseNewTimeFormat,
},
}
Expand Down
2 changes: 1 addition & 1 deletion serf/ping_delegate.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ func (p *pingDelegate) AckPayload() []byte {

// The rest of the message is the serialized coordinate.
enc := codec.NewEncoder(&buf, &codec.MsgpackHandle{
BasicHandle: codec.BasicHandle{
BasicHandle: codec.BasicHandle{ //nolint:staticcheck
TimeNotBuiltin: !p.serf.msgpackUseNewTimeFormat,
},
})
Expand Down
Loading