Fix typo of fmt format
This commit is contained in:
@@ -148,7 +148,7 @@ func (conn *iscsiConnection) processLoginData() ([]util.KeyValue, error) {
|
||||
conn.loginParam.tgtTrans = true
|
||||
} else {
|
||||
//Currently, we just reject these kind of cases
|
||||
return negoKV, fmt.Errorf("reject CSG=%d,NSG=%d,trans",
|
||||
return negoKV, fmt.Errorf("reject CSG=%d,NSG=%d,trans=%t",
|
||||
conn.loginParam.iniCSG, conn.loginParam.iniNSG, conn.loginParam.iniTrans)
|
||||
}
|
||||
} else {
|
||||
|
||||
@@ -97,7 +97,7 @@ func deviceReserve(cmd *api.SCSICommand) error {
|
||||
}
|
||||
}
|
||||
if lu == nil {
|
||||
log.Errorf("invalid target and lun %d %s", cmd.Target.TID, lun)
|
||||
log.Errorf("invalid target and lun %d %d", cmd.Target.TID, lun)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user