Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
eadee468
Unverified
Commit
eadee468
authored
Jul 28, 2023
by
Michael Yang
Committed by
GitHub
Jul 28, 2023
Browse files
Merge pull request #236 from jmorganca/check-os-walk
check os.Walk err
parents
2e2e624d
bd58528f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
server/images.go
server/images.go
+4
-0
No files found.
server/images.go
View file @
eadee468
...
...
@@ -591,6 +591,10 @@ func DeleteModel(name string) error {
return
nil
})
if
err
!=
nil
{
return
err
}
// only delete the files which are still in the deleteMap
for
k
,
v
:=
range
deleteMap
{
if
v
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment