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:
Michael Mayer
2025-09-19 04:15:53 +02:00
parent 13e1c751d4
commit 75af48c0c0
28 changed files with 751 additions and 316 deletions

View File

@@ -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)
}