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
09dc6273
"docs/git@developer.sourcefind.cn:OpenDAS/torchaudio.git" did not exist on "5b1cd9a66a9cbfdf6347096f2509734fcaa50734"
Commit
09dc6273
authored
Jul 20, 2023
by
Bruce MacDonald
Browse files
suppress error when running list before pulling image
parent
ebaa33ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
server/routes.go
server/routes.go
+5
-0
No files found.
server/routes.go
View file @
09dc6273
...
@@ -2,6 +2,7 @@ package server
...
@@ -2,6 +2,7 @@ package server
import
(
import
(
"encoding/json"
"encoding/json"
"errors"
"io"
"io"
"log"
"log"
"net"
"net"
...
@@ -163,6 +164,10 @@ func list(c *gin.Context) {
...
@@ -163,6 +164,10 @@ func list(c *gin.Context) {
}
}
err
=
filepath
.
Walk
(
fp
,
func
(
path
string
,
info
os
.
FileInfo
,
err
error
)
error
{
err
=
filepath
.
Walk
(
fp
,
func
(
path
string
,
info
os
.
FileInfo
,
err
error
)
error
{
if
err
!=
nil
{
if
err
!=
nil
{
if
errors
.
Is
(
err
,
os
.
ErrNotExist
)
{
log
.
Printf
(
"manifest file does not exist: %s"
,
fp
)
return
nil
}
return
err
return
err
}
}
if
!
info
.
IsDir
()
{
if
!
info
.
IsDir
()
{
...
...
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