Skip to content

Commit

Permalink
fix: fix minio client wait
Browse files Browse the repository at this point in the history
Signed-off-by: yang.yu <yang.yu@chaitin.com>
  • Loading branch information
yang.yu committed Jun 15, 2023
1 parent ae35d10 commit 881607d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ else
exit 1
fi

# Create default buckets
minio_create_default_buckets

if is_boolean_yes "$MINIO_DISTRIBUTED_MODE_ENABLED"; then
# Wait for other clients (distribute mode)
sleep 5
fi

# Create default buckets
minio_create_default_buckets
fi

0 comments on commit 881607d

Please sign in to comment.