Skip to content

Commit 5c0d002

Browse files
author
Maxime Hugues
committed
LMR-7 Rename noop in gcs plugin to main
1 parent 82bbf16 commit 5c0d002

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
@@ -161,7 +161,7 @@ func getMergedConfig(plugin *dmplugin.Plugin) (*gcsConfig, error) {
161161
return cfg, nil
162162
}
163163

164-
func noop() {
164+
func main() {
165165

166166
plugin, err := dmplugin.New(path.Base(os.Args[0]), func(path string) (fsroot.Client, error) {
167167
return fsroot.New(path)
@@ -241,7 +241,3 @@ func interruptHandler(once func()) {
241241
}
242242
}()
243243
}
244-
245-
func main() {
246-
noop()
247-
}

0 commit comments

Comments
 (0)