mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 11:28:24 +00:00 
			
		
		
		
	Refactor container package (#34877)
Use standard db.WithTx and introduce db.WithTx2
This commit is contained in:
		| @@ -48,7 +48,7 @@ func ParseManifestMetadata(ctx context.Context, rd io.Reader, ownerID int64, ima | ||||
| 	configDescriptor, err := container_service.GetContainerBlob(ctx, &container_service.BlobSearchOptions{ | ||||
| 		OwnerID: ownerID, | ||||
| 		Image:   imageName, | ||||
| 		Digest:  string(manifest.Config.Digest), | ||||
| 		Digest:  manifest.Config.Digest.String(), | ||||
| 	}) | ||||
| 	if err != nil { | ||||
| 		return nil, nil, nil, err | ||||
|   | ||||
		Reference in New Issue
	
	Block a user