Skip to content

Commit

Permalink
Fix some typos
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Cao <[email protected]>
  • Loading branch information
mirake committed Sep 24, 2018
1 parent 16128bb commit 569d18a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
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

0 comments on commit 569d18a

Please sign in to comment.