Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Commit dc3f95a

Browse files
committed
Change wording in OpenStack Provider
1 parent a81422a commit dc3f95a

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

pkg/cloudprovider/providers/openstack/openstack_loadbalancer.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ const (
5050
// going into ACTIVE loadbalancer provisioning status. Starting with 1
5151
// seconds, multiplying by 1.2 with each step and taking 19 steps at maximum
5252
// it will time out after 128s, which roughly corresponds to 120s
53-
loadbalancerActiveInitDealy = 1 * time.Second
53+
loadbalancerActiveInitDelay = 1 * time.Second
5454
loadbalancerActiveFactor = 1.2
5555
loadbalancerActiveSteps = 19
5656

5757
// loadbalancerDelete* is configuration of exponential backoff for
5858
// waiting for delete operation to complete. Starting with 1
5959
// seconds, multiplying by 1.2 with each step and taking 13 steps at maximum
6060
// it will time out after 32s, which roughly corresponds to 30s
61-
loadbalancerDeleteInitDealy = 1 * time.Second
61+
loadbalancerDeleteInitDelay = 1 * time.Second
6262
loadbalancerDeleteFactor = 1.2
6363
loadbalancerDeleteSteps = 13
6464

@@ -320,7 +320,7 @@ func getSecurityGroupRules(client *gophercloud.ServiceClient, opts rules.ListOpt
320320

321321
func waitLoadbalancerActiveProvisioningStatus(client *gophercloud.ServiceClient, loadbalancerID string) (string, error) {
322322
backoff := wait.Backoff{
323-
Duration: loadbalancerActiveInitDealy,
323+
Duration: loadbalancerActiveInitDelay,
324324
Factor: loadbalancerActiveFactor,
325325
Steps: loadbalancerActiveSteps,
326326
}
@@ -350,7 +350,7 @@ func waitLoadbalancerActiveProvisioningStatus(client *gophercloud.ServiceClient,
350350

351351
func waitLoadbalancerDeleted(client *gophercloud.ServiceClient, loadbalancerID string) error {
352352
backoff := wait.Backoff{
353-
Duration: loadbalancerDeleteInitDealy,
353+
Duration: loadbalancerDeleteInitDelay,
354354
Factor: loadbalancerDeleteFactor,
355355
Steps: loadbalancerDeleteSteps,
356356
}

pkg/cloudprovider/providers/openstack/openstack_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,14 @@ const (
4545
// waiting for specified volume status. Starting with 1
4646
// seconds, multiplying by 1.2 with each step and taking 13 steps at maximum
4747
// it will time out after 32s, which roughly corresponds to 30s
48-
volumeStatusInitDealy = 1 * time.Second
48+
volumeStatusInitDelay = 1 * time.Second
4949
volumeStatusFactor = 1.2
5050
volumeStatusSteps = 13
5151
)
5252

5353
func WaitForVolumeStatus(t *testing.T, os *OpenStack, volumeName string, status string) {
5454
backoff := wait.Backoff{
55-
Duration: volumeStatusInitDealy,
55+
Duration: volumeStatusInitDelay,
5656
Factor: volumeStatusFactor,
5757
Steps: volumeStatusSteps,
5858
}

0 commit comments

Comments
 (0)