We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bc28f7 commit 7f118d6Copy full SHA for 7f118d6
pkg/testserver/artifact.go
@@ -45,9 +45,9 @@ type File struct {
45
Body string
46
}
47
48
-// ArtifactFromBytes creates a tar.gz artifact from the given files and
+// ArtifactFromFiles creates a tar.gz artifact from the given files and
49
// returns the file name of the artifact.
50
-func (s *ArtifactServer) ArtifactFromBytes(files []File) (string, error) {
+func (s *ArtifactServer) ArtifactFromFiles(files []File) (string, error) {
51
fileName := calculateArtifactName(files)
52
filePath := filepath.Join(s.docroot, fileName)
53
gzFile, err := os.Create(filePath)
0 commit comments