diff --git a/internal/artifact/reader_test.go b/internal/artifact/reader_test.go index 058a171..106a8da 100644 --- a/internal/artifact/reader_test.go +++ b/internal/artifact/reader_test.go @@ -46,7 +46,7 @@ func TestCompositeReader_Read(t *testing.T) { t.Run("unsupported ref type", func(t *testing.T) { ref := domain.ArtifactRef{ - Type: domain.ArtifactRefS3, + Type: domain.ArtifactRefType("s3"), URI: "s3://bucket/key", } _, err := reader.Read(ctx, ref) diff --git a/internal/domain/domain.go b/internal/domain/domain.go index 03768d0..c935a42 100644 --- a/internal/domain/domain.go +++ b/internal/domain/domain.go @@ -10,7 +10,6 @@ type ArtifactRefType string const ( ArtifactRefInline ArtifactRefType = "inline" ArtifactRefFile ArtifactRefType = "file" - ArtifactRefS3 ArtifactRefType = "s3" ) // OutputFormat defines the desired format of the generated artifact.