Skip to content

Commit

Permalink
fix(api): removed redundant call into creating grafana user
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed Sep 16, 2024
1 parent 34c3470 commit def5534
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions api/storage/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,6 @@ func loadReportSchema(*pgxpool.Pool, context.Context) bool {
logs.Logs.Println("[ERR][STORAGE] error in storage file schema init:" + errExecute.Error())
return false
}
_, errExecute = dbpool.Exec(dbctx, grafanaUserSQL)
if errExecute != nil {
logs.Logs.Println("[ERR][STORAGE] error in storage file schema init:" + errExecute.Error())
return false
}
return true
}

Expand Down

0 comments on commit def5534

Please sign in to comment.