Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix some typos #2723

Merged
merged 1 commit into from
Sep 25, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions registry/handlers/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ func (app *App) configureRedis(configuration *configuration.Configuration) {
_, err := c.Do("PING")
return err
},
Wait: false, // if a connection is not avialable, proceed without cache.
Wait: false, // if a connection is not available, proceed without cache.
}

app.redis = pool
Expand Down Expand Up @@ -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
// confifuration file
// configuration file
func uploadPurgeDefaultConfig() map[interface{}]interface{} {
config := map[interface{}]interface{}{}
config["enabled"] = true
Expand Down
2 changes: 1 addition & 1 deletion registry/storage/cache/redis/redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func TestRedisBlobDescriptorCacheProvider(t *testing.T) {
_, err := c.Do("PING")
return err
},
Wait: false, // if a connection is not avialable, proceed without cache.
Wait: false, // if a connection is not available, proceed without cache.
}

// Clear the database
Expand Down