Skip to content

Commit 9789cde

Browse files
committed
Removing quoutes
1 parent 2ea6226 commit 9789cde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/skaffold/build/kaniko/sources/localdir.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type LocalDir struct {
4848

4949
// Setup for LocalDir creates a tarball of the buildcontext and stores it in /tmp
5050
func (g *LocalDir) Setup(ctx context.Context, out io.Writer, artifact *latest.Artifact, initialTag string) (string, error) {
51-
g.tarPath = filepath.Join("os.TempDir()", fmt.Sprintf("context-%s.tar.gz", initialTag))
51+
g.tarPath = filepath.Join(os.TempDir(), fmt.Sprintf("context-%s.tar.gz", initialTag))
5252
color.Default.Fprintln(out, "Storing build context at", g.tarPath)
5353

5454
f, err := os.Create(g.tarPath)

0 commit comments

Comments
 (0)