Skip to content

Commit

Permalink
Fix typo of fmt format
Browse files Browse the repository at this point in the history
  • Loading branch information
xgwang committed May 10, 2018
1 parent ff9541b commit 29b6c29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/port/iscsit/login.go
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pkg/scsi/target.go
Expand Up @@ -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
}

Expand Down

0 comments on commit 29b6c29

Please sign in to comment.