Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit f80d173

Browse files
committed
common: Fix formatting
No functional changes here.
1 parent 9e69bca commit f80d173

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

common/postgresql.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2812,7 +2812,6 @@ func LiveUserDBs(dbOwner string, public AccessType) (list []DBInfo, err error) {
28122812
}
28132813
dbQuery += " ORDER BY date_created DESC"
28142814

2815-
28162815
rows, err := pdb.Query(dbQuery, dbOwner)
28172816
if err != nil {
28182817
log.Printf("Database query failed: %v", err)
@@ -2823,8 +2822,8 @@ func LiveUserDBs(dbOwner string, public AccessType) (list []DBInfo, err error) {
28232822
var oneRow DBInfo
28242823
var liveNode string
28252824
err = rows.Scan(&oneRow.Database, &oneRow.DateCreated, &oneRow.RepoModified, &oneRow.Public, &oneRow.IsLive, &liveNode,
2826-
&oneRow.Watchers, &oneRow.Stars, &oneRow.Discussions, &oneRow.Contributors,
2827-
&oneRow.OneLineDesc, &oneRow.SourceURL, &oneRow.Downloads, &oneRow.Views)
2825+
&oneRow.Watchers, &oneRow.Stars, &oneRow.Discussions, &oneRow.Contributors,
2826+
&oneRow.OneLineDesc, &oneRow.SourceURL, &oneRow.Downloads, &oneRow.Views)
28282827
if err != nil {
28292828
log.Printf("Error when retrieving list of live databases for user '%s': %v", dbOwner, err)
28302829
return nil, err

0 commit comments

Comments
 (0)