Skip to content

Commit

Permalink
Removing quoutes
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatk-25 committed Nov 19, 2018
1 parent 2ea6226 commit 9789cde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/skaffold/build/kaniko/sources/localdir.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ type LocalDir struct {

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

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

0 comments on commit 9789cde

Please sign in to comment.