Skip to content

Commit c6a17ab

Browse files
ankitathomastimflannagan
authored andcommitted
drop trailing slash for catalog directory on opm alpha generate dockerfile (#831)
Signed-off-by: Ankita Thomas <[email protected]> Upstream-repository: operator-registry Upstream-commit: 8e4557f1c5bc3288b91c79cebb1b14e44e59c737
1 parent e8e04d1 commit c6a17ab

File tree

2 files changed

+2
-2
lines changed
  • staging/operator-registry/cmd/opm/alpha/generate
  • vendor/github.com/operator-framework/operator-registry/cmd/opm/alpha/generate

2 files changed

+2
-2
lines changed

staging/operator-registry/cmd/opm/alpha/generate/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ When specifying extra labels, note that if duplicate keys exist, only the last
4444
value of each duplicate key will be added to the generated Dockerfile.
4545
`,
4646
RunE: func(_ *cobra.Command, args []string) error {
47-
fromDir := args[0]
47+
fromDir := filepath.Clean(args[0])
4848

4949
extraLabels, err := parseLabels(extraLabelStrs)
5050
if err != nil {

vendor/github.com/operator-framework/operator-registry/cmd/opm/alpha/generate/cmd.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)