diff --git a/lib/fog/aws/requests/storage/put_bucket.rb b/lib/fog/aws/requests/storage/put_bucket.rb index d44a078c5..afa1545df 100644 --- a/lib/fog/aws/requests/storage/put_bucket.rb +++ b/lib/fog/aws/requests/storage/put_bucket.rb @@ -55,7 +55,7 @@ DATA if options['LocationConstraint'] bucket['LocationConstraint'] = options['LocationConstraint'] else - bucket['LocationConstraint'] = '' + bucket['LocationConstraint'] = nil end unless @data[:buckets][bucket_name] @data[:buckets][bucket_name] = bucket