File tree Expand file tree Collapse file tree 5 files changed +20
-4
lines changed Expand file tree Collapse file tree 5 files changed +20
-4
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.1.5 (November 5, 2020)
2
+
3
+ FEATURES:
4
+
5
+
6
+
7
+ ENHANCEMENTS:
8
+
9
+ * Updated RKE to v1.2.2
10
+
11
+ BUG FIXES:
12
+
13
+
14
+
1
15
## 1.1.4 (November 5, 2020)
2
16
3
17
FEATURES:
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ require (
7
7
github.com/gorilla/websocket v1.4.1 // indirect
8
8
github.com/hashicorp/go-version v1.2.0
9
9
github.com/hashicorp/terraform-plugin-sdk v1.14.0
10
- github.com/rancher/rke v1.2.1
10
+ github.com/rancher/rke v1.2.2
11
11
github.com/satori/go.uuid v1.2.1-0.20181028125025-b2ce2384e17b
12
12
github.com/sirupsen/logrus v1.4.2
13
13
gopkg.in/yaml.v2 v2.2.8
Original file line number Diff line number Diff line change @@ -786,6 +786,8 @@ github.com/rancher/rke v1.2.0 h1:IxnUfQKyiQ1F16xERd9JSboS8g43JHtjpmtcfgssHQE=
786
786
github.com/rancher/rke v1.2.0 /go.mod h1:aPSc14Hp8UGLscL/wB9ZZQHPX/kjDiPXLcoMTCY2NS4 =
787
787
github.com/rancher/rke v1.2.1 h1:YLIZ+bkINrJrje8zPuFfnVx7iGqAvnZoHZSK3pA9BRs =
788
788
github.com/rancher/rke v1.2.1 /go.mod h1:aPSc14Hp8UGLscL/wB9ZZQHPX/kjDiPXLcoMTCY2NS4 =
789
+ github.com/rancher/rke v1.2.2 h1:E5Vqs+vO+M0iN/0b5EsS0vc9Bg5BtQtXOQVXVakxr4s =
790
+ github.com/rancher/rke v1.2.2 /go.mod h1:aPSc14Hp8UGLscL/wB9ZZQHPX/kjDiPXLcoMTCY2NS4 =
789
791
github.com/rancher/types v0.0.0-20200303162837-300a04e6f743 /go.mod h1:k5LoTlUpefw0eAzFSJsZI0gf+C4WE41yrc1jm/MS1nM =
790
792
github.com/rancher/types v0.0.0-20200326224903-b4612bd96d9b h1:nLJOQuk36vCXFQuD03L5Fh9xpF9n9U7/76WNGDjOjeY =
791
793
github.com/rancher/types v0.0.0-20200326224903-b4612bd96d9b /go.mod h1:k5LoTlUpefw0eAzFSJsZI0gf+C4WE41yrc1jm/MS1nM =
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ func flattenRKEClusterNodeUpgradeStrategy(in *rancher.NodeUpgradeStrategy) []int
30
30
return []interface {}{}
31
31
}
32
32
33
- obj ["drain" ] = in .Drain
33
+ obj ["drain" ] = * in .Drain
34
34
35
35
if in .DrainInput != nil {
36
36
obj ["drain_input" ] = flattenRKEClusterNodeDrainInput (in .DrainInput )
@@ -208,7 +208,7 @@ func expandRKEClusterNodeUpgradeStrategy(p []interface{}) *rancher.NodeUpgradeSt
208
208
in := p [0 ].(map [string ]interface {})
209
209
210
210
if v , ok := in ["drain" ].(bool ); ok {
211
- obj .Drain = v
211
+ obj .Drain = & v
212
212
}
213
213
214
214
if v , ok := in ["drain_input" ].([]interface {}); ok {
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ func init() {
36
36
},
37
37
}
38
38
testRKEClusterNodeUpgradeStrategyConf = & rancher.NodeUpgradeStrategy {
39
- Drain : false ,
39
+ Drain : newFalse () ,
40
40
DrainInput : testRKEClusterNodeDrainInputConf ,
41
41
MaxUnavailableControlplane : "2" ,
42
42
MaxUnavailableWorker : "20%" ,
You can’t perform that action at this time.
0 commit comments