1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-28 14:41:10 +01:00

bump(*): k8s to 1.17

This commit is contained in:
Mike Dame
2019-12-12 11:02:29 -05:00
parent 3be0a9f80d
commit b3cc62dac6
7242 changed files with 473872 additions and 329488 deletions

2
vendor/gopkg.in/inf.v0/dec.go generated vendored
View File

@@ -104,7 +104,7 @@ var bigInt = [...]*big.Int{
var exp10cache [64]big.Int = func() [64]big.Int {
e10, e10i := [64]big.Int{}, bigInt[1]
for i, _ := range e10 {
for i := range e10 {
e10[i].Set(e10i)
e10i = new(big.Int).Mul(e10i, bigInt[10])
}

View File

@@ -31,7 +31,8 @@ func ExampleRounder() {
{"RoundHalfEven", inf.RoundHalfEven}, {"RoundExact", inf.RoundExact},
}
fmt.Println("The results of new(inf.Dec).Round(x, s, inf.RoundXXX):\n")
fmt.Println("The results of new(inf.Dec).Round(x, s, inf.RoundXXX):")
fmt.Println()
w := tabwriter.NewWriter(os.Stdout, 0, 0, 1, ' ', tabwriter.AlignRight)
fmt.Fprint(w, "x\ts\t|\t")
for _, r := range rounders {