diff --git a/vendor/github.com/mitchellh/copystructure/copystructure.go b/vendor/github.com/mitchellh/copystructure/copystructure.go index 3f390764e4..0e725ea723 100644 --- a/vendor/github.com/mitchellh/copystructure/copystructure.go +++ b/vendor/github.com/mitchellh/copystructure/copystructure.go @@ -177,8 +177,8 @@ func (w *walker) Exit(l reflectwalk.Location) error { case reflectwalk.SliceElem: // Pop off the value and the index and set it on the slice v := w.valPop() + i := w.valPop().Interface().(int) if v.IsValid() { - i := w.valPop().Interface().(int) s := w.cs[len(w.cs)-1] se := s.Index(i) if se.CanSet() { diff --git a/vendor/vendor.json b/vendor/vendor.json index d3dde0756e..a04d20b26f 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -1474,10 +1474,10 @@ "revision": "8631ce90f28644f54aeedcb3e389a85174e067d1" }, { - "checksumSHA1": "BsIMq23KDyxdhQC7g2dDz/9oHbA=", + "checksumSHA1": "guxbLo8KHHBeM0rzou4OTzzpDNs=", "path": "github.com/mitchellh/copystructure", - "revision": "c4815f984fb5c5486f6db1c9a5660e7605fd4c20", - "revisionTime": "2016-10-03T18:23:19Z" + "revision": "5af94aef99f597e6a9e1f6ac6be6ce0f3c96b49d", + "revisionTime": "2016-10-13T19:53:42Z" }, { "path": "github.com/mitchellh/go-homedir",