Skip to content

Commit

Permalink
resolve merge conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Patrick Pan <[email protected]>
  • Loading branch information
Patrick Pan committed Nov 19, 2024
1 parent ec93662 commit 7809549
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public NoReferrerUpdateException(string message)
{
}

public NoReferrerUpdateException(string message, Exception innerException)
public NoReferrerUpdateException(string message, Exception? innerException)
: base(message, innerException)
{
}
Expand Down
8 changes: 4 additions & 4 deletions tests/OrasProject.Oras.Tests/PackerTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,12 @@ public async Task TestPackManifestImageV1_0_WithOptions()
Layers = layers
};
var manifestBytes = Encoding.UTF8.GetBytes(JsonSerializer.Serialize(manifest));
appendBlob(Oci.MediaType.ImageManifest, manifestBytes);
appendBlob(MediaType.ImageManifest, manifestBytes);
};
var getBytes = (string data) => Encoding.UTF8.GetBytes(data);
appendBlob(Oci.MediaType.ImageConfig, getBytes("config")); // blob 0
appendBlob(Oci.MediaType.ImageLayer, getBytes("hello world")); // blob 1
appendBlob(Oci.MediaType.ImageLayer, getBytes("goodbye world")); // blob 2
appendBlob(MediaType.ImageConfig, getBytes("config")); // blob 0
appendBlob(MediaType.ImageLayer, getBytes("hello world")); // blob 1
appendBlob(MediaType.ImageLayer, getBytes("goodbye world")); // blob 2
var layers = descs.GetRange(1, 2);
var configBytes = Encoding.UTF8.GetBytes("{}");
var configDesc = new Descriptor
Expand Down

0 comments on commit 7809549

Please sign in to comment.