cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DaanHoogland <>
Subject [GitHub] cloudstack pull request: [WIP] CLOUDSTACK-9063 CitrixResourceBase ...
Date Mon, 16 Nov 2015 10:02:21 GMT
Github user DaanHoogland commented on a diff in the pull request:
    --- Diff: plugins/hypervisors/xenserver/src/com/cloud/hypervisor/xenserver/resource/
    @@ -55,10 +55,10 @@ public void umountSnapshotDir(final Connection conn, final Long dcId)
         public boolean setupServer(final Connection conn,final Host host) {
    -        final com.trilead.ssh2.Connection sshConnection = new com.trilead.ssh2.Connection(_host.getIp(),
    +        final com.trilead.ssh2.Connection sshConnection = new com.trilead.ssh2.Connection(getXenServerHost().getIp(),
             try {
                 sshConnection.connect(null, 60000, 60000);
    -            if (!sshConnection.authenticateWithPassword(_username, _password.peek()))
    +            if (!sshConnection.authenticateWithPassword(getData().getUsername(), getData().getPasswords().peek()))
    --- End diff --
    why do you want to avoid it? I don't mind creating a local variable but it's only use
would be for debugging and as this is a data object that seems senseless.

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message