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:
12 files changed
+745
-34
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user