mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
API: Refactor the node registry to use the entity.Client model #98
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -39,7 +39,7 @@ func clusterNodesModAction(ctx *cli.Context) error {
|
||||
return cli.Exit(fmt.Errorf("node id or name is required"), 2)
|
||||
}
|
||||
|
||||
r, err := reg.NewFileRegistry(conf)
|
||||
r, err := reg.NewClientRegistryWithConfig(conf)
|
||||
if err != nil {
|
||||
return cli.Exit(err, 1)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user