Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeuoly committed Sep 2, 2024
1 parent b6208aa commit efa55c6
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions internal/core/plugin_manager/watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,17 +206,3 @@ func (p *PluginManager) loadPlugin(plugin_path string) (*pluginRuntimeWithDecode
Decoder: decoder,
}, nil
}

func parsePluginConfig(configuration_path string) (*plugin_entities.PluginDeclaration, error) {
text, err := os.ReadFile(configuration_path)
if err != nil {
return nil, err
}

result, err := plugin_entities.UnmarshalPluginDeclarationFromYaml(text)
if err != nil {
return nil, err
}

return result, nil
}

0 comments on commit efa55c6

Please sign in to comment.