From 2a8982577cf636db359fbf7bcb6e85ebd4aa511c Mon Sep 17 00:00:00 2001 From: geemus Date: Fri, 24 Sep 2010 13:24:52 -0700 Subject: [PATCH] [google][storage] close the formatador warning so that stuff won't keep being yellow --- lib/fog/google/storage.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fog/google/storage.rb b/lib/fog/google/storage.rb index 34146a77b..e28249ec7 100644 --- a/lib/fog/google/storage.rb +++ b/lib/fog/google/storage.rb @@ -159,7 +159,7 @@ DATA subdomain = params[:host].split(".#{@host}").first unless subdomain =~ /^(?:[a-z]|\d(?!\d{0,2}(?:\.\d{1,3}){3}$))(?:[a-z0-9]|\.(?![\.\-])|\-(?![\.])){1,61}[a-z0-9]$/ - Formatador.display_line("[yellow][WARN] fog: the specified google storage bucket name(#{subdomain}) is not a valid dns name. See: http://code.google.com/apis/storage/docs/developer-guide.html#naming ") + Formatador.display_line("[yellow][WARN] fog: the specified google storage bucket name(#{subdomain}) is not a valid dns name. See: http://code.google.com/apis/storage/docs/developer-guide.html#naming[/]") params[:host] = params[:host].split("#{subdomain}.")[-1] if params[:path] params[:path] = "#{subdomain}/#{params[:path]}"