Skip to content

Commit 8937a81

Browse files
authored
prevent db log error when loading installationID (treeverse#406)
Former-commit-id: 872953c970255d775b7ef22bc6b798b0b4610e56
1 parent 17158de commit 8937a81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth/metadata.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func writeMetadata(tx sqlx.Execer, items map[string]string) error {
5353
func (d *DBMetadataManager) InstallationID() (string, error) {
5454
installationID, err := d.db.Transact(func(tx db.Tx) (interface{}, error) {
5555
return getInstallationID(tx)
56-
}, db.ReadOnly())
56+
}, db.WithLogger(logging.Dummy()), db.ReadOnly())
5757
if err != nil {
5858
return "", err
5959
}

0 commit comments

Comments
 (0)