Skip to content
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.

Commit

Permalink
Linters fix
Browse files Browse the repository at this point in the history
  • Loading branch information
obalunenko committed Nov 25, 2019
1 parent 921af83 commit eb1effb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/db/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ func Connect(dbType StorageType, params Params) (Repository, error) {
case StorageTypeMongo:
return newMongoDBConnection(params.URL, params.DB, params.Collection, params.Username, params.Password)
default:
return nil, errors.Errorf("not supported database type [%s]", dbType)
return nil, errors.Errorf("not supported database type [%s]", dbType.String())
}
}

0 comments on commit eb1effb

Please sign in to comment.