Skip to content

Commit 677c7cd

Browse files
committed
Fix /tmp path (#975)
Signed-off-by: perdasilva <[email protected]> Upstream-repository: operator-registry Upstream-commit: d42dcfa2db71e1d64f3fce74faff713662c94eff
1 parent 38fadba commit 677c7cd

File tree

2 files changed

+2
-2
lines changed
  • staging/operator-registry/pkg/lib/tmp
  • vendor/github.com/operator-framework/operator-registry/pkg/lib/tmp

2 files changed

+2
-2
lines changed

staging/operator-registry/pkg/lib/tmp/copy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
// CopyTmpDB reads the file at the given path and copies it to a tmp directory, returning the copied file path or an err
1111
func CopyTmpDB(original string) (path string, err error) {
12-
dst, err := ioutil.TempFile("tmp", "db-")
12+
dst, err := ioutil.TempFile("/tmp", "db-")
1313
if err != nil {
1414
return "", err
1515
}

vendor/github.com/operator-framework/operator-registry/pkg/lib/tmp/copy.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)