Skip to content

Commit 7f118d6

Browse files
committed
testserver/artifact: rename to ArtifactFromFiles
1 parent 0bc28f7 commit 7f118d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/testserver/artifact.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ type File struct {
4545
Body string
4646
}
4747

48-
// ArtifactFromBytes creates a tar.gz artifact from the given files and
48+
// ArtifactFromFiles creates a tar.gz artifact from the given files and
4949
// returns the file name of the artifact.
50-
func (s *ArtifactServer) ArtifactFromBytes(files []File) (string, error) {
50+
func (s *ArtifactServer) ArtifactFromFiles(files []File) (string, error) {
5151
fileName := calculateArtifactName(files)
5252
filePath := filepath.Join(s.docroot, fileName)
5353
gzFile, err := os.Create(filePath)

0 commit comments

Comments
 (0)