Skip to content

Commit

Permalink
Use correct error join method
Browse files Browse the repository at this point in the history
Signed-off-by: litt3 <[email protected]>
  • Loading branch information
litt3 committed Dec 12, 2024
1 parent 88df865 commit 505a1f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions api/clients/v2/eigenda_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import (
"github.com/Layr-Labs/eigenda/api/clients/codecs"
core "github.com/Layr-Labs/eigenda/core/v2"
"github.com/Layr-Labs/eigensdk-go/logging"
"github.com/cockroachdb/errors/join"
"math/rand"
)

Expand Down Expand Up @@ -139,7 +138,7 @@ func (c *EigenDAClient) Close() error {
relayClientErr := c.relayClient.Close()

// TODO: this is using join, since there will be more subcomponents requiring closing after adding PUT functionality
return join.Join(relayClientErr)
return errors.Join(relayClientErr)
}

// createCodec creates the codec based on client config values
Expand Down

0 comments on commit 505a1f0

Please sign in to comment.