Modified an error message related to trying to delete a reference to a cluster that has one or more virtual networks
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/2faa48d4 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2faa48d4 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2faa48d4 Branch: refs/heads/sf-plugins Commit: 2faa48d41184c4df5f895c1b8d7a7ad953a1d4ef Parents: 576e524 Author: Mike Tutkowski <[email protected]> Authored: Thu Jul 23 17:21:37 2015 -0600 Committer: Mike Tutkowski <[email protected]> Committed: Fri Sep 18 19:28:23 2015 -0600 ---------------------------------------------------------------------- .../org/apache/cloudstack/solidfire/ApiSolidFireServiceImpl2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2faa48d4/plugins/api/solidfire/src/org/apache/cloudstack/solidfire/ApiSolidFireServiceImpl2.java ---------------------------------------------------------------------- diff --git a/plugins/api/solidfire/src/org/apache/cloudstack/solidfire/ApiSolidFireServiceImpl2.java b/plugins/api/solidfire/src/org/apache/cloudstack/solidfire/ApiSolidFireServiceImpl2.java index 208e62a..ff11202 100644 --- a/plugins/api/solidfire/src/org/apache/cloudstack/solidfire/ApiSolidFireServiceImpl2.java +++ b/plugins/api/solidfire/src/org/apache/cloudstack/solidfire/ApiSolidFireServiceImpl2.java @@ -233,7 +233,7 @@ public class ApiSolidFireServiceImpl2 extends AdapterBase implements APIChecker, List<SfVirtualNetworkVO> sfVirtualNetworks = _sfVirtualNetworkDao.findByClusterId(sfCluster.getId()); if (sfVirtualNetworks != null && sfVirtualNetworks.size() > 0) { - throw new CloudRuntimeException("Unable to delete a cluster that has one or more virtual networks"); + throw new CloudRuntimeException("Unable to delete a reference to a cluster that has one or more virtual networks"); } if (!_sfClusterDao.remove(sfCluster.getId())) {
