Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Kenny Leung <[email protected]>
  • Loading branch information
k4leung4 committed Jul 11, 2024
1 parent a653143 commit 663f753
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/cli/bundle.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ func cmdBundle() *cobra.Command {
cmd.Flags().BoolVar(&cfg.dryrun, "dry-run", false, "print commands instead of executing them")
cmd.Flags().StringSliceVarP(&cfg.ExtraKeys, "keyring-append", "k", []string{"https://packages.wolfi.dev/os/wolfi-signing.rsa.pub"}, "path to extra keys to include in the build environment keyring")
cmd.Flags().StringSliceVarP(&cfg.ExtraRepos, "repository-append", "r", []string{"https://packages.wolfi.dev/os"}, "path to extra repositories to include in the build environment")
cmd.Flags().StringSliceVar(&cfg.fuses, "gcsfuse", []string{}, "list of gcsfuse mounts to make available to the build environment (e.g. gs://my-bucket/subdir:/mnt/my-bucket)")
cmd.Flags().StringSliceVar(&cfg.Fuses, "gcsfuse", []string{}, "list of gcsfuse mounts to make available to the build environment (e.g. gs://my-bucket/subdir:/mnt/my-bucket)")
cmd.Flags().StringVar(&cfg.signingKey, "signing-key", "", "key to use for signing")
cmd.Flags().StringVar(&cfg.PurlNamespace, "namespace", "wolfi", "namespace to use in package URLs in SBOM (eg wolfi, alpine)")
cmd.Flags().StringVar(&cfg.OutDir, "out-dir", "", "directory where packages will be output")
Expand Down Expand Up @@ -377,8 +377,8 @@ func BundleAll(ctx context.Context, cfg *Global, bcfg *BundleConfig, args []stri
testflags = append(testflags, "--repository-append="+r)
}

mounts := make([]*bundle.GCSFuseMount, 0, len(cfg.fuses))
for _, f := range cfg.fuses {
mounts := make([]*bundle.GCSFuseMount, 0, len(cfg.Fuses))
for _, f := range cfg.Fuses {
mount, err := bundle.ParseGCSFuseMount(f)
if err != nil {
return nil, err
Expand Down

0 comments on commit 663f753

Please sign in to comment.