bump up golang version

upgrade go version to v1.18.8

Signed-off-by: Wang Yan <wangyan@vmware.com>
This commit is contained in:
Wang Yan
2022-11-29 22:42:26 +08:00
committed by Sebastiaan van Stijn
parent db1389e043
commit 70db3a46d9
8 changed files with 11 additions and 17 deletions

View File

@@ -114,9 +114,7 @@ func (r *registry) Repositories(ctx context.Context, entries []string, last stri
return 0, err
}
for cnt := range ctlg.Repositories {
entries[cnt] = ctlg.Repositories[cnt]
}
copy(entries, ctlg.Repositories)
numFilled = len(ctlg.Repositories)
link := resp.Header.Get("Link")