Delete actions for plugin based catalogs and sets (#1622)

* Add ability to delete plugin based host catalogs and host sets

* Add plugin host catalog and set tests for API.
This commit is contained in:
Todd authored and GitHub committed 2021-10-25 09:37:05 -07:00
1 parent 804cb22699
commit 8795b20fe2
12 files changed
+745 -34

No files matched your search

+1 -1
View File
@@ -123,7 +123,7 @@ func New(ctx context.Context, conf *Config) (*Controller, error) {
external_host_plugins.WithHostPluginExecutionDir(conf.RawConfig.Plugins.ExecutionDir),
external_host_plugins.WithLogger(hclog.NewNullLogger()))
if err != nil {
return nil, fmt.Errorf("error creating azure host plugin")
return nil, fmt.Errorf("error creating azure host plugin: %w", err)
}
conf.ShutdownFuncs = append(conf.ShutdownFuncs, azureCleanup)
if _, err := conf.RegisterHostPlugin(ctx, "azure", azureSvcClient, hostplugin.WithDescription("Built-in Azure host plugin")); err != nil {