forked from TrueCloudLab/frostfs-node
[#66] node: Replace interface{} with any
Signed-off-by: Alejandro Lopez <a.lopez@yadro.com>
This commit is contained in:
parent
3d873237d5
commit
cb5468abb8
67 changed files with 135 additions and 135 deletions
|
@ -17,7 +17,7 @@ type ClientMessageStreamer struct {
|
|||
}
|
||||
|
||||
// Send calls send method of internal streamer.
|
||||
func (s *ClientMessageStreamer) Send(req interface{}) error {
|
||||
func (s *ClientMessageStreamer) Send(req any) error {
|
||||
if err := s.send(req); err != nil {
|
||||
return fmt.Errorf("(%T) could not send the request: %w", s, err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue