Skip to content

Commit 48ce763

Browse files
committed
Merge pull request #4 from apache/4.7
4.7 PR
2 parents a243339 + 4db1c01 commit 48ce763

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

agent/src/com/cloud/agent/Agent.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,15 +227,15 @@ public void start() {
227227
try {
228228
_connection.start();
229229
} catch (final NioConnectionException e) {
230-
throw new CloudRuntimeException("Unable to start the connection!", e);
230+
s_logger.info("Attempted to connect to the server, but received an unexpected exception, trying again...");
231231
}
232232
while (!_connection.isStartup()) {
233233
_shell.getBackoffAlgorithm().waitBeforeRetry();
234234
_connection = new NioClient("Agent", _shell.getHost(), _shell.getPort(), _shell.getWorkers(), this);
235235
try {
236236
_connection.start();
237237
} catch (final NioConnectionException e) {
238-
throw new CloudRuntimeException("Unable to start the connection!", e);
238+
s_logger.info("Attempted to connect to the server, but received an unexpected exception, trying again...");
239239
}
240240
}
241241
}
@@ -412,7 +412,7 @@ protected void reconnect(final Link link) {
412412
try {
413413
_connection.start();
414414
} catch (final NioConnectionException e) {
415-
throw new CloudRuntimeException("Unable to start the connection!", e);
415+
s_logger.info("Attempted to connect to the server, but received an unexpected exception, trying again...");
416416
}
417417
_shell.getBackoffAlgorithm().waitBeforeRetry();
418418
} while (!_connection.isStartup());

ui/scripts/network.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6051,7 +6051,7 @@
60516051
var items = [];
60526052
items.push({
60536053
id: '',
6054-
description: 'label.none'
6054+
description: _l('label.none')
60556055
});
60566056
items.push({
60576057
id: 'modp1024',
@@ -6119,7 +6119,7 @@
61196119
var items = [];
61206120
items.push({
61216121
id: '',
6122-
description: 'label.none'
6122+
description: _l('label.none')
61236123
});
61246124
items.push({
61256125
id: 'modp1024',
@@ -6400,7 +6400,7 @@
64006400
var items = [];
64016401
items.push({
64026402
id: '',
6403-
description: 'label.none'
6403+
description: _l('label.none')
64046404
});
64056405
items.push({
64066406
id: 'modp1024',
@@ -6468,7 +6468,7 @@
64686468
var items = [];
64696469
items.push({
64706470
id: '',
6471-
description: 'label.none'
6471+
description: _l('label.none')
64726472
});
64736473
items.push({
64746474
id: 'modp1024',

ui/scripts/ui-custom/instanceWizard.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@
372372

373373
$select.addClass('selected').append(
374374
$('<div>').addClass('hypervisor')
375-
.append($('<label>').html('Hypervisor:'))
375+
.append($('<label>').html(_l('label.hypervisor') + ':'))
376376
.append($('<select>').attr({
377377
name: 'hypervisorid'
378378
}))

ui/scripts/ui-custom/projects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@
706706
*/
707707
var addProject = function() {
708708
pageElems.newProjectForm().dialog({
709-
title: 'label.new.project',
709+
title: _l('label.new.project'),
710710
closeOnEscape: false,
711711
width: 760
712712
}).closest('.ui-dialog').overlay();

0 commit comments

Comments
 (0)