1
0
mirror of https://github.com/rancher/types.git synced 2025-07-05 17:56:12 +00:00

Updated norman go module to v0.0.0-20200211155126-fc45a55d4dfd

This commit is contained in:
rawmind0 2020-02-11 17:15:43 +01:00
parent ff90439c1b
commit a5e9df39fb
4 changed files with 8 additions and 5 deletions

2
go.mod
View File

@ -12,7 +12,7 @@ require (
github.com/coreos/prometheus-operator v0.33.0
github.com/knative/pkg v0.0.0-20190817231834-12ee58e32cc8
github.com/pkg/errors v0.8.1
github.com/rancher/norman v0.0.0-20200210173039-40f8d46bcfce
github.com/rancher/norman v0.0.0-20200211155126-fc45a55d4dfd
github.com/sirupsen/logrus v1.4.2
golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c // indirect
k8s.io/api v0.17.2

2
go.sum
View File

@ -470,6 +470,8 @@ github.com/rancher/norman v0.0.0-20200206042542-ef3920abad1c h1:+tnpw/MTI6nLCY61
github.com/rancher/norman v0.0.0-20200206042542-ef3920abad1c/go.mod h1:b+483H276jRBXYosdWrNKFpxH+JYMs3UIdlV60dhdg0=
github.com/rancher/norman v0.0.0-20200210173039-40f8d46bcfce h1:7mcUz6jN1LLKPpbxQctDXeYDE+t13LP2zoRo/FW4VZc=
github.com/rancher/norman v0.0.0-20200210173039-40f8d46bcfce/go.mod h1:b+483H276jRBXYosdWrNKFpxH+JYMs3UIdlV60dhdg0=
github.com/rancher/norman v0.0.0-20200211155126-fc45a55d4dfd h1:96iahn2n4qq7EuJ6QNrW2iqm1xVUktzjHSyNPPm/6YU=
github.com/rancher/norman v0.0.0-20200211155126-fc45a55d4dfd/go.mod h1:b+483H276jRBXYosdWrNKFpxH+JYMs3UIdlV60dhdg0=
github.com/rancher/pkg v0.0.0-20190514055449-b30ab9de040e h1:j6+HqCET/NLPBtew2m5apL7jWw/PStQ7iGwXjgAqdvo=
github.com/rancher/pkg v0.0.0-20190514055449-b30ab9de040e/go.mod h1:XbYHTPaXuw8ZY9bylhYKQh/nJxDaTKk3YhAxPl4Qy/k=
github.com/rancher/wrangler v0.4.1 h1:kQLE6syPbX4ciwU4OF+EHIPT9zj6r6pyN83u9Gsv5eg=

View File

@ -106,13 +106,14 @@ func (c *{{.schema.CodeName}}Client) ListAll(opts *types.ListOpts) (*{{.schema.C
return resp, err
}
data := resp.Data
for resp, err = resp.Next(); resp != nil && err == nil; resp, err = resp.Next() {
data = append(data, resp.Data...)
for next, err := resp.Next(); next != nil && err == nil; next, err = next.Next() {
data = append(data, next.Data...)
resp = next
resp.Data = data
}
if err != nil {
return resp, err
}
resp.Data = data
return resp, err
}

2
vendor/modules.txt vendored
View File

@ -85,7 +85,7 @@ github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
github.com/prometheus/procfs
github.com/prometheus/procfs/internal/fs
github.com/prometheus/procfs/internal/util
# github.com/rancher/norman v0.0.0-20200210173039-40f8d46bcfce
# github.com/rancher/norman v0.0.0-20200211155126-fc45a55d4dfd
github.com/rancher/norman/controller
github.com/rancher/norman/lifecycle
github.com/rancher/norman/objectclient