Skip to content

Commit ea6c59b

Browse files
authored
Merge pull request #66 from fluxcd/quickfix/method-name
2 parents 721229d + 7f118d6 commit ea6c59b

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)