linter defeated!
This commit is contained in:
@@ -7,11 +7,11 @@ import (
|
||||
)
|
||||
|
||||
func Connect(params mytypes.Params) (_ mytypes.CephConnection, err error) {
|
||||
var cephConn mytypes.CephConnection = mytypes.CephConnection{}
|
||||
var cephConn = mytypes.CephConnection{}
|
||||
|
||||
defer func() {
|
||||
if err != nil {
|
||||
err = fmt.Errorf("Error in func connect() %w", err)
|
||||
err = fmt.Errorf("error in func connect() %w", err)
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user