chore(client): remove redundant error check for tar reader (#24058)
Co-authored-by: Alex | Interchain Labs <alex@interchainlabs.io>
This commit is contained in:
parent
26bc9f66ee
commit
700d33457a
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user