update copystructure
This commit is contained in:
parent
816c04309c
commit
95786c5090
|
@ -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() {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue