fix: invert check

This commit is contained in:
Derrick Hammer 2024-03-26 23:31:17 -04:00
parent 989ed70265
commit 6a9eede07d
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ func (r *RenterDefault) CreateBucketIfNotExists(bucket string) error {
return nil
}
if strings.Contains(err.Error(), api.ErrBucketNotFound.Error()) {
if !strings.Contains(err.Error(), api.ErrBucketNotFound.Error()) {
return err
}