Skip to content

Commit 0a0de85

Browse files
Merge pull request #328 from openshift-cherrypick-robot/cherry-pick-327-to-release-4.9
[release-4.9] Bug 2102559: opm bug fix
2 parents b1110c6 + 938cd95 commit 0a0de85

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(".", "db-")
12+
dst, err := ioutil.TempFile("", "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)