Skip to content

Commit bcd0d03

Browse files
author
Maxime Hugues
committed
LMR-7 Rename noop in gcs plugin to main
1 parent e07ffa2 commit bcd0d03

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cmd/lhsm-plugin-gcs/main.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func getMergedConfig(plugin *dmplugin.Plugin) (*gcsConfig, error) {
165165
return cfg, nil
166166
}
167167

168-
func noop() {
168+
func main() {
169169

170170
plugin, err := dmplugin.New(path.Base(os.Args[0]), func(path string) (fsroot.Client, error) {
171171
return fsroot.New(path)
@@ -245,7 +245,3 @@ func interruptHandler(once func()) {
245245
}
246246
}()
247247
}
248-
249-
func main() {
250-
noop()
251-
}

0 commit comments

Comments
 (0)