mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Merge pull request #723 from radu-stefanache/typo_fixes
More typosSome more typos that I've found . * pr/723: More typos Signed-off-by: Rajani Karuturi <rajanikaruturi@gmail.com>
This commit is contained in:
commit
aea9d4b2af
@ -134,7 +134,7 @@ public class CreateAutoScalePolicyCmd extends BaseAsyncCreateCmd {
|
||||
long conditionId = getConditionIds().get(0);
|
||||
Condition condition = _entityMgr.findById(Condition.class, conditionId);
|
||||
if (condition == null) {
|
||||
// it is an invalid condition, return system acccount, error will be thrown later.
|
||||
// it is an invalid condition, return system account, error will be thrown later.
|
||||
conditionDomainId = Domain.ROOT_DOMAIN;
|
||||
conditionAccountId = Account.ACCOUNT_ID_SYSTEM;
|
||||
} else {
|
||||
|
||||
@ -24,7 +24,7 @@ import com.cloud.utils.db.GenericDao;
|
||||
public interface VpnUserDao extends GenericDao<VpnUserVO, Long> {
|
||||
List<VpnUserVO> listByAccount(Long accountId);
|
||||
|
||||
VpnUserVO findByAccountAndUsername(Long acccountId, String userName);
|
||||
VpnUserVO findByAccountAndUsername(Long accountId, String userName);
|
||||
|
||||
long getVpnUserCount(Long accountId);
|
||||
}
|
||||
|
||||
@ -61,7 +61,7 @@ class LdapContextFactorySpec extends spock.lang.Specification {
|
||||
password = "password"
|
||||
}
|
||||
|
||||
def "Test succcessfully creating a initial context"() {
|
||||
def "Test successfully creating a initial context"() {
|
||||
given: "We have a LdapContextFactory"
|
||||
def ldapContextFactory = new LdapContextFactory(ldapConfiguration)
|
||||
when: "A context attempts to bind and no Ldap server is avaiable"
|
||||
|
||||
@ -20,7 +20,7 @@ import org.apache.cloudstack.api.response.LdapUserResponse
|
||||
|
||||
|
||||
class LdapUserResponseSpec extends spock.lang.Specification {
|
||||
def "Testing succcessful setting of LdapUserResponse email"() {
|
||||
def "Testing successful setting of LdapUserResponse email"() {
|
||||
given: "We have an LdapResponse"
|
||||
LdapUserResponse response = new LdapUserResponse();
|
||||
when: "An email address is set"
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
|
||||
# Version @VERSION@
|
||||
#
|
||||
# A log rotat config for CS plugin log
|
||||
# A log rotate config for CS plugin log
|
||||
|
||||
|
||||
|
||||
|
||||
@ -58,7 +58,7 @@ public class RecreatableFencer extends AdapterBase implements FenceBuilder {
|
||||
for (VolumeVO vol : vols) {
|
||||
if (!vol.isRecreatable()) {
|
||||
if (s_logger.isDebugEnabled()) {
|
||||
s_logger.debug("Unable to f ence off volumes that are not recreatable: " + vol);
|
||||
s_logger.debug("Unable to fence off volumes that are not recreatable: " + vol);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
@ -22,7 +22,7 @@ Usage:
|
||||
Common options:
|
||||
--help|-h Show this help text.
|
||||
--debug-link|-DL Print debugging messages when packets are trasnferred via links.
|
||||
--debug-element|-DE Print debugging messages when packets are received or sended by elements.
|
||||
--debug-element|-DE Print debugging messages when packets are received or sent by elements.
|
||||
--debug-pipeline|-DP Print debugging messages in pipelines.
|
||||
--host|-n|--host-name VALUE Name or IP address of host to connect to. Required.
|
||||
--width|-W VALUE Width of canvas. Default value is "1024".
|
||||
|
||||
@ -66,7 +66,7 @@ public class Client {
|
||||
{
|
||||
name = "--debug-element";
|
||||
alias = "-DE";
|
||||
description = "Print debugging messages when packets are received or sended by elements.";
|
||||
description = "Print debugging messages when packets are received or sent by elements.";
|
||||
}
|
||||
};
|
||||
private final Option debugPipeline = new Option() {
|
||||
|
||||
@ -1947,12 +1947,12 @@ class TestIpAddresses(cloudstackTestCase):
|
||||
self.assertEqual(
|
||||
1,
|
||||
len(list_ipaddresses_after),
|
||||
"VM Created is not in Runnning state"
|
||||
"VM Created is not in Running state"
|
||||
)
|
||||
self.assertEquals(
|
||||
vm_created.id,
|
||||
list_vms_running[0].id,
|
||||
"VM Created is not in Runnning state"
|
||||
"VM Created is not in Running state"
|
||||
)
|
||||
# Listing Virtual Machines in stopped state in above created network
|
||||
list_vms_stopped = VirtualMachine.list(
|
||||
|
||||
@ -128,7 +128,7 @@ class TestLdap(cloudstackTestCase):
|
||||
|
||||
if self.ldapconfRes == 1:
|
||||
|
||||
self.debug("Ldap Configuration was succcessful")
|
||||
self.debug("Ldap Configuration was successful")
|
||||
|
||||
loginRes = self._checklogin(
|
||||
self.services["configurableData"]["ldap_configuration"]["ldapUsername"],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user