diff --git a/resources/libraries/minio_helpers.rb b/resources/libraries/minio_helpers.rb index c49998a..0cd3c97 100644 --- a/resources/libraries/minio_helpers.rb +++ b/resources/libraries/minio_helpers.rb @@ -64,7 +64,7 @@ def member_of_replication_cluster?(node_name) def add_to_minio_replication(s3_hosts, node_name) s3_nodes = s3_hosts.dup s3_nodes.delete(node_name) - s3_nodes = s3_nodes.join(" ") + " " + node_name + s3_nodes = s3_nodes.join(' ') + ' ' + node_name system("/usr/local/bin/mcli admin replicate add #{s3_nodes}") end