vendor: run go tidy and go vendor

This commit is contained in:
Nick Craig-Wood
2019-08-14 16:15:34 +01:00
parent 93228dfcc9
commit b84cc0cae7
37 changed files with 47 additions and 60 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ func resolve(tag string, in string) (rtag string, out interface{}) {
return yaml_INT_TAG, uintv
}
} else if strings.HasPrefix(plain, "-0b") {
intv, err := strconv.ParseInt("-"+plain[3:], 2, 64)
intv, err := strconv.ParseInt("-" + plain[3:], 2, 64)
if err == nil {
if true || intv == int64(int(intv)) {
return yaml_INT_TAG, int(intv)