mirror of
https://github.com/mudler/LocalAI.git
synced 2025-06-30 06:30:43 +00:00
fix: uid -> uuid
This commit is contained in:
parent
fa6e5c6cb2
commit
7c04158509
3 changed files with 10 additions and 9 deletions
|
@ -147,9 +147,9 @@ var _ = Describe("API test", func() {
|
|||
},
|
||||
})
|
||||
|
||||
Expect(response["uid"]).ToNot(BeEmpty(), fmt.Sprint(response))
|
||||
Expect(response["uuid"]).ToNot(BeEmpty(), fmt.Sprint(response))
|
||||
|
||||
uuid := response["uid"].(string)
|
||||
uuid := response["uuid"].(string)
|
||||
|
||||
Eventually(func() bool {
|
||||
response := getModelStatus("http://127.0.0.1:9090/models/jobs/" + uuid)
|
||||
|
@ -172,9 +172,9 @@ var _ = Describe("API test", func() {
|
|||
Overrides: map[string]string{},
|
||||
})
|
||||
|
||||
Expect(response["uid"]).ToNot(BeEmpty(), fmt.Sprint(response))
|
||||
Expect(response["uuid"]).ToNot(BeEmpty(), fmt.Sprint(response))
|
||||
|
||||
uuid := response["uid"].(string)
|
||||
uuid := response["uuid"].(string)
|
||||
|
||||
Eventually(func() bool {
|
||||
response := getModelStatus("http://127.0.0.1:9090/models/jobs/" + uuid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue