Skip to content

Commit 92b08e9

Browse files
Update server/src/main/java/com/cloud/network/NetworkServiceImpl.java
Co-authored-by: Suresh Kumar Anaparti <sureshkumar.anaparti@gmail.com>
1 parent cc7eb93 commit 92b08e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/com/cloud/network/NetworkServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2991,7 +2991,7 @@ public boolean restartNetwork(RestartNetworkCmd cmd) throws ConcurrentOperationE
29912991
boolean makeRedundant = cmd.getMakeRedundant();
29922992
User callerUser = _accountMgr.getActiveUser(CallContext.current().getCallingUserId());
29932993
if (makeRedundant && !_accountMgr.isRootAdmin(callerUser.getAccountId()) && !AllowUsersToMakeNetworksRedundant.value() ) {
2994-
throw new InvalidParameterValueException(String.format("Could not make network redundant as calling user is not Root Admin and [%s] is set to false.",
2994+
throw new InvalidParameterValueException("Could not make the network redundant. Please contact administrator.");
29952995
AllowUsersToMakeNetworksRedundant.key()));
29962996
}
29972997

0 commit comments

Comments
 (0)