Skip to content

Commit

Permalink
feat: delete the v1 plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
tuusberg committed Dec 25, 2023
1 parent 0031d9d commit ac2dcf8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 69 deletions.
64 changes: 0 additions & 64 deletions internal/plugin/restoreplugin.go

This file was deleted.

5 changes: 0 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,10 @@ import (

func main() {
framework.NewServer().
RegisterRestoreItemAction("example.io/restore-plugin", newRestorePlugin).
RegisterRestoreItemActionV2("example.io/restore-pluginv2", newRestorePluginV2).
Serve()
}

func newRestorePlugin(logger logrus.FieldLogger) (interface{}, error) {
return plugin.NewRestorePlugin(logger), nil
}

func newRestorePluginV2(logger logrus.FieldLogger) (interface{}, error) {
return plugin.NewRestorePluginV2(logger), nil
}

0 comments on commit ac2dcf8

Please sign in to comment.