summaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main
diff options
context:
space:
mode:
authorSkip Wonnell <skip@att.com>2018-01-18 17:40:39 -0600
committerPatrick Brady <pb071s@att.com>2018-01-19 21:54:45 +0000
commit090b660ced8a44b65bc66ea0b2fbfaeaf90f2b5f (patch)
tree4fffccd83f4f23105d88df1c47f02ae3b318cfed /appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main
parent442e579d63a7d2034a1595a97503046ea2181c29 (diff)
Change log message for Restart action
Issue-ID: APPC-430 Change-Id: Ib9be5dade18e6b66f1409f64f9cba84429219231 Signed-off-by: Skip Wonnell <skip@att.com>
Diffstat (limited to 'appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main')
-rw-r--r--appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/RestartServer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/RestartServer.java b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/RestartServer.java
index 71deee403..18ddacf00 100644
--- a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/RestartServer.java
+++ b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/onap/appc/adapter/iaas/provider/operation/impl/RestartServer.java
@@ -120,11 +120,11 @@ public class RestartServer extends ProviderServerOperation {
case ERROR:
msg = EELFResourceManager.format(Msg.SERVER_ERROR_STATE, server.getName(), server.getId(),
- server.getTenantId(), "rebuild");
+ server.getTenantId(), "restart");
generateEvent(rc, false, msg);
logger.error(msg);
metricsLogger.error(msg);
- throw new RequestFailedException("Rebuild Server", msg, HttpStatus.METHOD_NOT_ALLOWED_405, server);
+ throw new RequestFailedException("Restart Server", msg, HttpStatus.METHOD_NOT_ALLOWED_405, server);
case READY:
// Attempt to start the server