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

Commit f2ef4c3

Browse files
author
Kubernetes Submit Queue
authored
Merge pull request #56269 from edisonxiang/changewording
Automatic merge from submit-queue (batch tested with PRs 55557, 55504, 56269, 55604, 56202). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Change wording in OpenStack Provider **What this PR does / why we need it**: Change working from "dealy" into "delay" in OpenStack Provider. **Release note**: ```release-note NONE ```
2 parents 48ba9a4 + dc3f95a commit f2ef4c3

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
@@ -52,15 +52,15 @@ const (
5252
// going into ACTIVE loadbalancer provisioning status. Starting with 1
5353
// seconds, multiplying by 1.2 with each step and taking 19 steps at maximum
5454
// it will time out after 128s, which roughly corresponds to 120s
55-
loadbalancerActiveInitDealy = 1 * time.Second
55+
loadbalancerActiveInitDelay = 1 * time.Second
5656
loadbalancerActiveFactor = 1.2
5757
loadbalancerActiveSteps = 19
5858

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

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

329329
func waitLoadbalancerActiveProvisioningStatus(client *gophercloud.ServiceClient, loadbalancerID string) (string, error) {
330330
backoff := wait.Backoff{
331-
Duration: loadbalancerActiveInitDealy,
331+
Duration: loadbalancerActiveInitDelay,
332332
Factor: loadbalancerActiveFactor,
333333
Steps: loadbalancerActiveSteps,
334334
}
@@ -358,7 +358,7 @@ func waitLoadbalancerActiveProvisioningStatus(client *gophercloud.ServiceClient,
358358

359359
func waitLoadbalancerDeleted(client *gophercloud.ServiceClient, loadbalancerID string) error {
360360
backoff := wait.Backoff{
361-
Duration: loadbalancerDeleteInitDealy,
361+
Duration: loadbalancerDeleteInitDelay,
362362
Factor: loadbalancerDeleteFactor,
363363
Steps: loadbalancerDeleteSteps,
364364
}

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)