Signed-off-by: oppiliappan me@oppi.li
appview/db/language.go
appview/db/language.go
This file has not been changed.
appview/repo/index.go
appview/repo/index.go
This file has not been changed.
+2
-5
appview/state/knotstream.go
+2
-5
appview/state/knotstream.go
···
181
181
// update appview's cache
182
182
err = db.UpdateRepoLanguages(tx, repo.RepoAt(), ref.Short(), langs)
183
183
if err != nil {
184
+
fmt.Printf("failed; %s\n", err)
184
185
// non-fatal
185
186
}
186
187
187
-
err = tx.Commit()
188
-
if err != nil {
189
-
return err
190
-
}
191
-
return db.InsertRepoLanguages(d, langs)
188
+
return tx.Commit()
192
189
}
193
190
194
191
func ingestPipeline(d *db.DB, source ec.Source, msg ec.Message) error {
History
3 rounds
0 comments
1 commit
expand
collapse
appview/languages: fix logic bug in updating language breakdowns
Signed-off-by: oppiliappan <me@oppi.li>
3/3 success
expand
collapse
expand 0 comments
pull request successfully merged
1 commit
expand
collapse
appview/languages: fix logic bug in updating language breakdowns
Signed-off-by: oppiliappan <me@oppi.li>
3/3 success
expand
collapse
expand 0 comments
1 commit
expand
collapse
appview/languages: fix logic bug in updating language breakdowns
Signed-off-by: oppiliappan <me@oppi.li>