mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Logs: Add package pkg/log/status to provide generic outcome constants
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -12,6 +12,7 @@ import (
|
||||
"github.com/photoprism/photoprism/internal/event"
|
||||
reg "github.com/photoprism/photoprism/internal/service/cluster/registry"
|
||||
"github.com/photoprism/photoprism/pkg/clean"
|
||||
"github.com/photoprism/photoprism/pkg/log/status"
|
||||
)
|
||||
|
||||
// flags for nodes mod
|
||||
@@ -133,7 +134,7 @@ func clusterNodesModAction(ctx *cli.Context) error {
|
||||
args = append(args, clean.Log(changeSummary))
|
||||
}
|
||||
|
||||
segments = append(segments, event.Updated)
|
||||
segments = append(segments, status.Updated)
|
||||
|
||||
event.AuditInfo(append(who, segments...), args...)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user