Skip to content

Commit 76f8d2e

Browse files
committed
feat: update
Signed-off-by: Gaius <gaius.qi@gmail.com>
1 parent b3c7cd7 commit 76f8d2e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/e2e/manager/preheat.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ var _ = Describe("Preheat with Manager", func() {
5959
Type: internaljob.PreheatJob,
6060
Args: types.PreheatArgs{
6161
Type: "file",
62-
URL: testFile.GetDownloadURL(),
62+
URLs: []string{testFile.GetDownloadURL()},
6363
},
6464
})
6565
Expect(err).NotTo(HaveOccurred())
@@ -117,7 +117,7 @@ var _ = Describe("Preheat with Manager", func() {
117117
Type: internaljob.PreheatJob,
118118
Args: types.PreheatArgs{
119119
Type: "file",
120-
URL: testFile.GetDownloadURL(),
120+
URLs: []string{testFile.GetDownloadURL()},
121121
},
122122
})
123123
Expect(err).NotTo(HaveOccurred())
@@ -175,7 +175,7 @@ var _ = Describe("Preheat with Manager", func() {
175175
Type: internaljob.PreheatJob,
176176
Args: types.PreheatArgs{
177177
Type: "file",
178-
URL: testFile.GetDownloadURL(),
178+
URLs: []string{testFile.GetDownloadURL()},
179179
},
180180
})
181181
Expect(err).NotTo(HaveOccurred())
@@ -233,7 +233,7 @@ var _ = Describe("Preheat with Manager", func() {
233233
Type: internaljob.PreheatJob,
234234
Args: types.PreheatArgs{
235235
Type: "file",
236-
URL: testFile.GetDownloadURL(),
236+
URLs: []string{testFile.GetDownloadURL()},
237237
Scope: "single_seed_peer",
238238
LoadToCache: true,
239239
},

0 commit comments

Comments
 (0)