Merge pull request #74 from cavanwang/master

Fix typo of fmt format
This commit is contained in:
Lei Xue
2018-05-10 11:32:03 +08:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -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 {

View File

@@ -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
}