Skip to content

Commit

Permalink
fix(manager): use builtin filestore if plugin-name does not provide
Browse files Browse the repository at this point in the history
  • Loading branch information
0x5459 committed Oct 17, 2023
1 parent 14488df commit be26abc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var utilStorageAttachCmd = &cli.Command{
},
&cli.StringFlag{
Name: "plugin-name",
Usage: "the filestore plugin name, the plugin file should exist in `Plugin.Dir`",
Usage: "the filestore plugin name, the plugin file should exist in 'Plugin.Dir'",
},
&cli.BoolFlag{
Name: "strict",
Expand Down Expand Up @@ -134,7 +134,7 @@ var utilStorageAttachCmd = &cli.Command{
defer stopper(gctx) // nolint:errcheck

var store filestore.Store
if pluginName != "" {
if pluginName == "" {
// use builtin fs filestore
store, err = filestorebuiltin.New(scfg)
if err != nil {
Expand Down

0 comments on commit be26abc

Please sign in to comment.