Skip to content

Commit

Permalink
DFS - indicate whether TrcDb reported a change so alternative actions… (
Browse files Browse the repository at this point in the history
#1006)

* DFS - indicate whether TrcDb reported a change so alternative actions can occur.
* Fix concurrency unsafe code.
* Look up flow alias.
  • Loading branch information
joel-rieke committed Mar 15, 2024
1 parent aeb82f5 commit 4b6f268
Show file tree
Hide file tree
Showing 8 changed files with 294 additions and 274 deletions.
2 changes: 1 addition & 1 deletion atrium/buildopts/flowopts/flowopts.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func ProcessAskFlumeEventMapper(askFlumeContext *flowcore.AskFlumeContext, query

// Not enough time to check how to implement above queries, so only runs the query below
for {
rows := tfmContext.CallDBQuery(tfContext, sql_query, nil, false, "SELECT", nil, "")
rows, _ := tfmContext.CallDBQuery(tfContext, sql_query, nil, false, "SELECT", nil, "")
encoded_rows, err := json.Marshal(rows)
if err != nil {
log.Printf("error encoding result from trcdb: %v", err)
Expand Down
Loading

0 comments on commit 4b6f268

Please sign in to comment.