mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-09-08 15:41:15 +02:00
convert error fromating to %w everywhere (#6995)
This commit is contained in:
@@ -106,7 +106,7 @@ func (store *MysqlStore) initialize(dsn string, upsertQuery string, enableUpsert
|
||||
}
|
||||
cfg, err := mysql.ParseDSN(dsn)
|
||||
if err != nil {
|
||||
return fmt.Errorf("can not parse DSN error:%v", err)
|
||||
return fmt.Errorf("can not parse DSN error:%w", err)
|
||||
}
|
||||
|
||||
var dbErr error
|
||||
|
||||
Reference in New Issue
Block a user