mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-11 13:02:14 +00:00
Change wording in OpenStack Provider
This commit is contained in:
parent
ccb15fb498
commit
aab6efd192
@ -50,7 +50,7 @@ const (
|
|||||||
// going into ACTIVE loadbalancer provisioning status. Starting with 1
|
// going into ACTIVE loadbalancer provisioning status. Starting with 1
|
||||||
// seconds, multiplying by 1.2 with each step and taking 19 steps at maximum
|
// seconds, multiplying by 1.2 with each step and taking 19 steps at maximum
|
||||||
// it will time out after 128s, which roughly corresponds to 120s
|
// it will time out after 128s, which roughly corresponds to 120s
|
||||||
loadbalancerActiveInitDealy = 1 * time.Second
|
loadbalancerActiveInitDelay = 1 * time.Second
|
||||||
loadbalancerActiveFactor = 1.2
|
loadbalancerActiveFactor = 1.2
|
||||||
loadbalancerActiveSteps = 19
|
loadbalancerActiveSteps = 19
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ const (
|
|||||||
// waiting for delete operation to complete. Starting with 1
|
// waiting for delete operation to complete. Starting with 1
|
||||||
// seconds, multiplying by 1.2 with each step and taking 13 steps at maximum
|
// seconds, multiplying by 1.2 with each step and taking 13 steps at maximum
|
||||||
// it will time out after 32s, which roughly corresponds to 30s
|
// it will time out after 32s, which roughly corresponds to 30s
|
||||||
loadbalancerDeleteInitDealy = 1 * time.Second
|
loadbalancerDeleteInitDelay = 1 * time.Second
|
||||||
loadbalancerDeleteFactor = 1.2
|
loadbalancerDeleteFactor = 1.2
|
||||||
loadbalancerDeleteSteps = 13
|
loadbalancerDeleteSteps = 13
|
||||||
|
|
||||||
@ -320,7 +320,7 @@ func getSecurityGroupRules(client *gophercloud.ServiceClient, opts rules.ListOpt
|
|||||||
|
|
||||||
func waitLoadbalancerActiveProvisioningStatus(client *gophercloud.ServiceClient, loadbalancerID string) (string, error) {
|
func waitLoadbalancerActiveProvisioningStatus(client *gophercloud.ServiceClient, loadbalancerID string) (string, error) {
|
||||||
backoff := wait.Backoff{
|
backoff := wait.Backoff{
|
||||||
Duration: loadbalancerActiveInitDealy,
|
Duration: loadbalancerActiveInitDelay,
|
||||||
Factor: loadbalancerActiveFactor,
|
Factor: loadbalancerActiveFactor,
|
||||||
Steps: loadbalancerActiveSteps,
|
Steps: loadbalancerActiveSteps,
|
||||||
}
|
}
|
||||||
@ -350,7 +350,7 @@ func waitLoadbalancerActiveProvisioningStatus(client *gophercloud.ServiceClient,
|
|||||||
|
|
||||||
func waitLoadbalancerDeleted(client *gophercloud.ServiceClient, loadbalancerID string) error {
|
func waitLoadbalancerDeleted(client *gophercloud.ServiceClient, loadbalancerID string) error {
|
||||||
backoff := wait.Backoff{
|
backoff := wait.Backoff{
|
||||||
Duration: loadbalancerDeleteInitDealy,
|
Duration: loadbalancerDeleteInitDelay,
|
||||||
Factor: loadbalancerDeleteFactor,
|
Factor: loadbalancerDeleteFactor,
|
||||||
Steps: loadbalancerDeleteSteps,
|
Steps: loadbalancerDeleteSteps,
|
||||||
}
|
}
|
||||||
|
@ -45,14 +45,14 @@ const (
|
|||||||
// waiting for specified volume status. Starting with 1
|
// waiting for specified volume status. Starting with 1
|
||||||
// seconds, multiplying by 1.2 with each step and taking 13 steps at maximum
|
// seconds, multiplying by 1.2 with each step and taking 13 steps at maximum
|
||||||
// it will time out after 32s, which roughly corresponds to 30s
|
// it will time out after 32s, which roughly corresponds to 30s
|
||||||
volumeStatusInitDealy = 1 * time.Second
|
volumeStatusInitDelay = 1 * time.Second
|
||||||
volumeStatusFactor = 1.2
|
volumeStatusFactor = 1.2
|
||||||
volumeStatusSteps = 13
|
volumeStatusSteps = 13
|
||||||
)
|
)
|
||||||
|
|
||||||
func WaitForVolumeStatus(t *testing.T, os *OpenStack, volumeName string, status string) {
|
func WaitForVolumeStatus(t *testing.T, os *OpenStack, volumeName string, status string) {
|
||||||
backoff := wait.Backoff{
|
backoff := wait.Backoff{
|
||||||
Duration: volumeStatusInitDealy,
|
Duration: volumeStatusInitDelay,
|
||||||
Factor: volumeStatusFactor,
|
Factor: volumeStatusFactor,
|
||||||
Steps: volumeStatusSteps,
|
Steps: volumeStatusSteps,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user