We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14488df commit be26abcCopy full SHA for be26abc
damocles-manager/cmd/damocles-manager/internal/util_storage.go
@@ -50,7 +50,7 @@ var utilStorageAttachCmd = &cli.Command{
50
},
51
&cli.StringFlag{
52
Name: "plugin-name",
53
- 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'",
54
55
&cli.BoolFlag{
56
Name: "strict",
@@ -134,7 +134,7 @@ var utilStorageAttachCmd = &cli.Command{
134
defer stopper(gctx) // nolint:errcheck
135
136
var store filestore.Store
137
- if pluginName != "" {
+ if pluginName == "" {
138
// use builtin fs filestore
139
store, err = filestorebuiltin.New(scfg)
140
if err != nil {
0 commit comments