ACK

good catch and grep tells me we've missed a few more places that still
do 'convert_to_json'. Nakagawa-san do you have a signed Apache CLA
([1],[2])? We can only commit contributions whose author has a signed
CLA - if you don't already have one please contact me if you need any
help/explanation with this

thanks, marios


[1] http://deltacloud.apache.org/how-to-contribute.html
[2] http://www.apache.org/licenses/icla.txt

On 05/09/12 08:32, [email protected] wrote:
> From: Yoshiaki Nakagawa <[email protected]>
> 
> ---
>  server/lib/deltacloud/collections/firewalls.rb |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/server/lib/deltacloud/collections/firewalls.rb 
> b/server/lib/deltacloud/collections/firewalls.rb
> index 42dc4ad..8b10f64 100644
> --- a/server/lib/deltacloud/collections/firewalls.rb
> +++ b/server/lib/deltacloud/collections/firewalls.rb
> @@ -66,7 +66,7 @@ module Deltacloud::Collections
>            respond_to do |format|
>              format.xml  { haml :"firewalls/show" }
>              format.html { haml :"firewalls/show" }
> -            format.json { convert_to_json(:firewall, @firewall) }
> +            format.json { xml_to_json 'firewalls/show' }
>            end
>          end
>        end
> @@ -109,7 +109,7 @@ module Deltacloud::Collections
>            respond_to do |format|
>              format.xml  { haml :"firewalls/show" }
>              format.html { haml :"firewalls/show" }
> -            format.json { convert_to_json(:firewall, @firewall) }
> +            format.json { xml_to_json 'firewalls/show' }
>            end
>          end
>        end
> 

Reply via email to