From 605b99a08de799b16705ecaa9a3ce878d838398a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Pinson?= Date: Wed, 4 Jan 2017 10:11:45 +0100 Subject: [PATCH] Add 'finishing-upgrade' state to rancher stack --- builtin/providers/rancher/resource_rancher_stack.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/rancher/resource_rancher_stack.go b/builtin/providers/rancher/resource_rancher_stack.go index 3bd12090954a..e715622f0aea 100644 --- a/builtin/providers/rancher/resource_rancher_stack.go +++ b/builtin/providers/rancher/resource_rancher_stack.go @@ -245,7 +245,7 @@ func resourceRancherStackUpdate(d *schema.ResourceData, meta interface{}) error } stateConf = &resource.StateChangeConf{ - Pending: []string{"active", "upgraded"}, + Pending: []string{"active", "upgraded", "finishing-upgrade"}, Target: []string{"active"}, Refresh: StackStateRefreshFunc(client, stack.Id), Timeout: 10 * time.Minute,