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

@@ -40,7 +40,7 @@ func clusterNodesListAction(ctx *cli.Context) error {
return cli.Exit(fmt.Errorf("node listing is only available on a Portal node"), 2)
}
r, err := reg.NewFileRegistry(conf)
r, err := reg.NewClientRegistryWithConfig(conf)
if err != nil {
return cli.Exit(err, 1)
}