mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 02:40:26 -06:00
Update pkg/storage/unified/sql/backend.go
This commit is contained in:
parent
2207ef10de
commit
1fc1dd0914
@ -148,7 +148,7 @@ func (b *backend) create(ctx context.Context, event resource.WriteEvent) (int64,
|
||||
err := b.sqlDB.WithTx(ctx, ReadCommitted, func(ctx context.Context, tx db.Tx) error {
|
||||
// TODO: Set the Labels
|
||||
|
||||
// 1. Update into entity
|
||||
// 1. Insert into resource
|
||||
if _, err := exec(ctx, tx, sqlResourceInsert, sqlResourceRequest{
|
||||
SQLTemplate: sqltemplate.New(b.sqlDialect),
|
||||
WriteEvent: event,
|
||||
|
Loading…
Reference in New Issue
Block a user