1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/cloudstack
Dan Bode 6911b7da0b Do not add empty security group
Previously, not setting a security group leads to an invalid
signature (when using api keys). This was caused b/c
an extra securitygroupid was added with '' as its value.

This was calculated as a part of the signature, but dropped
from the request, leading to the error:
    unable to verify user credentials and/or request signature

This commit only adds a securtygroupid param if the result of
the querying for groups does not return []. This will prevent the
extra security group from being added.
2012-11-09 13:37:37 -08:00
..
models/compute Do not add empty security group 2012-11-09 13:37:37 -08:00
requests/compute [cloudstack|compute] remove erroneous comma in merge command 2012-08-16 14:38:51 -05:00
compute.rb CloudStack: listTemplates, registerTemplate requests return hypervisor in the response 2012-08-09 12:52:52 +03:00