Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Plural
platform
distribution
Commits
569d18ae
Commit
569d18ae
authored
6 years ago
by
Rui Cao
Browse files
Options
Download
Email Patches
Plain Diff
Fix some typos
Signed-off-by:
Rui Cao
<
ruicao@alauda.io
>
parent
16128bba
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
registry/handlers/app.go
+2
-2
registry/handlers/app.go
registry/storage/cache/redis/redis_test.go
+1
-1
registry/storage/cache/redis/redis_test.go
with
3 additions
and
3 deletions
+3
-3
registry/handlers/app.go
+
2
-
2
View file @
569d18ae
...
...
@@ -555,7 +555,7 @@ func (app *App) configureRedis(configuration *configuration.Configuration) {
_
,
err
:=
c
.
Do
(
"PING"
)
return
err
},
Wait
:
false
,
// if a connection is not av
i
alable, proceed without cache.
Wait
:
false
,
// if a connection is not ava
i
lable, proceed without cache.
}
app
.
redis
=
pool
...
...
@@ -997,7 +997,7 @@ func applyStorageMiddleware(driver storagedriver.StorageDriver, middlewares []co
// uploadPurgeDefaultConfig provides a default configuration for upload
// purging to be used in the absence of configuration in the
// confi
f
uration file
// confi
g
uration file
func
uploadPurgeDefaultConfig
()
map
[
interface
{}]
interface
{}
{
config
:=
map
[
interface
{}]
interface
{}{}
config
[
"enabled"
]
=
true
...
...
This diff is collapsed.
Click to expand it.
registry/storage/cache/redis/redis_test.go
+
1
-
1
View file @
569d18ae
...
...
@@ -39,7 +39,7 @@ func TestRedisBlobDescriptorCacheProvider(t *testing.T) {
_
,
err
:=
c
.
Do
(
"PING"
)
return
err
},
Wait
:
false
,
// if a connection is not av
i
alable, proceed without cache.
Wait
:
false
,
// if a connection is not ava
i
lable, proceed without cache.
}
// Clear the database
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
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