Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

fix: fix golang build (#210)

tianzhoue1f6127fa907
diff --git a/store/label.go b/store/label.go
index c4d86bbab7..2c123f1028 100644
--- a/store/label.go
+++ b/store/label.go
@@ -372,7 +372,7 @@ func (s *LabelService) SetDatabaseLabelList(ctx context.Context, labels []*api.D
for _, oldLabel := range oldLabels {
// Archive all old labels
- label, err := s.upsertDatabaseLabel(ctx, tx, &api.DatabaseLabelUpsert{
+ _, err := s.upsertDatabaseLabel(ctx, tx, &api.DatabaseLabelUpsert{
UpdaterID: updaterID,
RowStatus: api.Archived,
DatabaseID: databaseID,