Skip to content

Commit 844abdc

Browse files
committed
Comment empty branch for staticcheck
Signed-off-by: Joe Adams <[email protected]>
1 parent bce3176 commit 844abdc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

collector/collector.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ func NewPostgresCollector(logger log.Logger, dsns []string, filters []string, op
149149
// Manually provided servers are always classified as "primary"
150150
s.isPrimary = true
151151

152-
if p.autoDiscoverDatabases {
153-
// TODO(@sysadmind): We need to discover the downstream servers and add them here.
154-
}
152+
// TODO(@sysadmind): We need to discover the downstream servers and add them here.
153+
// if p.autoDiscoverDatabases {
154+
// }
155155

156156
servers[dsn] = s
157157
}

0 commit comments

Comments
 (0)