diff --git a/renter/renter.go b/renter/renter.go index 5049b02..6e24701 100644 --- a/renter/renter.go +++ b/renter/renter.go @@ -89,7 +89,7 @@ func (r *RenterDefault) CreateBucketIfNotExists(bucket string) error { return nil } - if !errors.Is(err, api.ErrBucketNotFound) { + if strings.Contains(err.Error(), api.ErrBucketNotFound.Error()) { return err }