diff --git a/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb b/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb
index <HASH>..<HASH> 100644
--- a/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb
+++ b/lib/fog/vcloud_director/generators/compute/edge_gateway_service_configuration.rb
@@ -75,7 +75,7 @@ module Fog
                       xml.Protocol service_profile[:Protocol]
                       xml.Port service_profile[:Port]
                       xml.Persistence {
-                        xml.Method service_profile[:Persistence][:method]
+                        xml.Method service_profile[:Persistence][:Method]
                         if service_profile[:Persistence][:Method] == 'COOKIE'
                           xml.CookieName service_profile[:Persistence][:CookieName]
                           xml.CookieMode service_profile[:Persistence][:CookieMode]
[vcloud_director] fix typo as per #<I>