summaryrefslogtreecommitdiffstats
path: root/vendor/github.com
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2017-04-24 16:31:46 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-04-24 22:31:46 +0800
commiteb1075dd4cdeed4cacc17a9a4286254edb6bb4cd (patch)
tree6fdb943ce8a66c95e20868c2074e302f78bfe2fe /vendor/github.com
parentfcc7cdab112e64c2b158c594c7d46746ff6c46f8 (diff)
downloadgitea-eb1075dd4cdeed4cacc17a9a4286254edb6bb4cd.tar.gz
gitea-eb1075dd4cdeed4cacc17a9a4286254edb6bb4cd.zip
Check if missing/modified/unused deps in vendor and fix errors (#1468)
* Check if missing deps in vendor This will catch import from other repos. (maybe by auto-import) * Remove github.com/smartystreets unused deps * Remove github.com/boltdb/bolt unused dep * Fetch github.com/go-xorm/core + sync gopkg.in/ldap.v2/ldap.go * Auto-install govendor + reinstall github.com/boltdb/bolt needed by vendor/github.com/blevesearch/bleve/index/store/boltdb * Update go-xorm/xorm to a5cb21 in vendor.json * Use a custom repo for implementing change to bolt dep. * Switching bolt to github.com/go-gitea/bolt * Switching bolt to github.com/go-gitea/bolt (fork version) * change the drone sign
Diffstat (limited to 'vendor/github.com')
-rw-r--r--vendor/github.com/go-xorm/core/dialect.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/github.com/go-xorm/core/dialect.go b/vendor/github.com/go-xorm/core/dialect.go
index 70420ee5a8..74478301e4 100644
--- a/vendor/github.com/go-xorm/core/dialect.go
+++ b/vendor/github.com/go-xorm/core/dialect.go
@@ -279,9 +279,9 @@ func (b *Base) ForUpdateSql(query string) string {
func (b *Base) LogSQL(sql string, args []interface{}) {
if b.logger != nil && b.logger.IsShowSQL() {
if len(args) > 0 {
- b.logger.Info("[sql]", sql, args)
+ b.logger.Infof("[SQL] %v %v", sql, args)
} else {
- b.logger.Info("[sql]", sql)
+ b.logger.Infof("[SQL] %v", sql)
}
}
}