deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mar...@apache.org
Subject git commit: FGCP: prevent error when listing firewall with no rules in XML format
Date Thu, 28 Jun 2012 08:00:11 GMT
Updated Branches:
  refs/heads/master 596be9e17 -> cb7e5ae85


FGCP: prevent error when listing firewall with no rules in XML format


Project: http://git-wip-us.apache.org/repos/asf/deltacloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltacloud/commit/cb7e5ae8
Tree: http://git-wip-us.apache.org/repos/asf/deltacloud/tree/cb7e5ae8
Diff: http://git-wip-us.apache.org/repos/asf/deltacloud/diff/cb7e5ae8

Branch: refs/heads/master
Commit: cb7e5ae85d934c6b5651b241e8fd03aab89b5ff9
Parents: 596be9e
Author: Dies Koper <diesk@fast.au.fujitsu.com>
Authored: Fri Jun 22 14:44:51 2012 +1000
Committer: marios <marios@redhat.com>
Committed: Thu Jun 28 10:57:29 2012 +0300

----------------------------------------------------------------------
 server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltacloud/blob/cb7e5ae8/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb
----------------------------------------------------------------------
diff --git a/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb b/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb
index 625c7b9..c32819c 100644
--- a/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb
+++ b/server/lib/deltacloud/drivers/fgcp/fgcp_driver.rb
@@ -896,6 +896,7 @@ eofwpxml
             :id => vsys['vsysId'][0] + '-S-0001',
             :name => fw_name,
             :description => "#{vsys['vsysName'][0]} [#{vsys['baseDescriptor'][0]}]",
+            :rules => [],
             :owner_id => vsys['creator'][0]
           })
         end


Mime
View raw message