chore(client): remove redundant error check for tar reader (#24058)

Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
This commit is contained in:
Hoang Do 2025-03-19 21:09:42 +07:00 committed by GitHub
parent 26bc9f66ee
commit 700d33457a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,9 +44,6 @@ func LoadArchiveCmd() *cobra.Command {
var snapshot snapshottypes.Snapshot
tr := tar.NewReader(reader)
if err != nil {
return fmt.Errorf("failed to create tar reader: %w", err)
}
hdr, err := tr.Next()
if err != nil {