Skip to content

Commit

Permalink
Use scripts folder for kubedb
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Sep 30, 2024
1 parent f798cb2 commit eaf9823
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/cmds/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func NewCmdListImages() *cobra.Command {
gk := schema.ParseGroupKind(key)
if gk.Group == "catalog.kubedb.com" {
sort.Strings(list)
err := write(list, filepath.Join(outDir, "images", strings.ToLower(gk.Kind)+"s.yaml"))
err := write(list, filepath.Join(outDir, "scripts", strings.ToLower(gk.Kind)+"s.yaml"))
if err != nil {
return err
}
Expand All @@ -65,7 +65,7 @@ func NewCmdListImages() *cobra.Command {
}

sort.Strings(rest)
err = write(rest, filepath.Join(outDir, "images", "operator.yaml"))
err = write(rest, filepath.Join(outDir, "scripts", "operator.yaml"))
if err != nil {
return err
}
Expand Down

0 comments on commit eaf9823

Please sign in to comment.