feature/11-update_master_to_beta_release_commits #12
3 changed files with 3 additions and 3 deletions
|
@ -279,7 +279,7 @@ type FileChecker struct {
|
||||||
|
|
||||||
// Redis configures the redis pool available to the registry webapp.
|
// Redis configures the redis pool available to the registry webapp.
|
||||||
type Redis struct {
|
type Redis struct {
|
||||||
// Addr specifies the the redis instance available to the application.
|
// Addr specifies the redis instance available to the application.
|
||||||
Addr string `yaml:"addr,omitempty"`
|
Addr string `yaml:"addr,omitempty"`
|
||||||
|
|
||||||
// Usernames can be used as a finer-grained permission control since the introduction of the redis 6.0.
|
// Usernames can be used as a finer-grained permission control since the introduction of the redis 6.0.
|
||||||
|
|
|
@ -230,7 +230,7 @@ func (bw *blobWriter) validateBlob(ctx context.Context, desc distribution.Descri
|
||||||
}
|
}
|
||||||
|
|
||||||
if fullHash {
|
if fullHash {
|
||||||
// a fantastic optimization: if the the written data and the size are
|
// a fantastic optimization: if the written data and the size are
|
||||||
// the same, we don't need to read the data from the backend. This is
|
// the same, we don't need to read the data from the backend. This is
|
||||||
// because we've written the entire file in the lifecycle of the
|
// because we've written the entire file in the lifecycle of the
|
||||||
// current instance.
|
// current instance.
|
||||||
|
|
|
@ -54,7 +54,7 @@ func (ts *tagStore) All(ctx context.Context) ([]string, error) {
|
||||||
return tags, nil
|
return tags, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Tag tags the digest with the given tag, updating the the store to point at
|
// Tag tags the digest with the given tag, updating the store to point at
|
||||||
// the current tag. The digest must point to a manifest.
|
// the current tag. The digest must point to a manifest.
|
||||||
func (ts *tagStore) Tag(ctx context.Context, tag string, desc distribution.Descriptor) error {
|
func (ts *tagStore) Tag(ctx context.Context, tag string, desc distribution.Descriptor) error {
|
||||||
currentPath, err := pathFor(manifestTagCurrentPathSpec{
|
currentPath, err := pathFor(manifestTagCurrentPathSpec{
|
||||||
|
|
Loading…
Reference in a new issue