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:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user