DaanHoogland commented on code in PR #8191:
URL: https://github.com/apache/cloudstack/pull/8191#discussion_r1384850807
##########
systemvm/agent/scripts/ssvm-check.sh:
##########
@@ -103,10 +103,10 @@ else
echo "Verifying if we can at least ping the storage"
STORAGE_ADDRESSES=`grep "secondaryStorageServerAddress" $CMDLINE | sed -E
's/.*secondaryStorageServerAddress=([^ ]*).*/\1/g'`
- if [[ -z "$STORAGE_ADDRESS" ]]
+ if [[ -z "$STORAGE_ADDRESSES" ]]
then
STORAGE_NETWORK_GATEWAY=`grep "storagegateway" $CMDLINE | sed -E
's/.*storagegateway=([^ ]*).*/\1/g'`
- echo "Storage address is empty, trying to ping storage network gateway
instead ($STORAGE_NETWORK_GATEWAY)"
+ echo "Storage addresses list is empty, trying to ping storage network
gateway instead ($STORAGE_NETWORK_GATEWAY)"
Review Comment:
```suggestion
echo "Storage address list is empty, trying to ping storage network
gateway instead ($STORAGE_NETWORK_GATEWAY)"
```
or
```suggestion
echo "List of storage addresses is empty, trying to ping storage
network gateway instead ($STORAGE_NETWORK_GATEWAY)"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]