libcontainer/intelrdt: rm fmt.Sprintf
It it not needed as it does nothing here. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
This commit is contained in:
parent
5542a2c77d
commit
a572216f74
|
@ -758,7 +758,7 @@ type LastCmdError struct {
|
|||
}
|
||||
|
||||
func (e *LastCmdError) Error() string {
|
||||
return fmt.Sprintf(e.Err.Error() + ", last_cmd_status: " + e.LastCmdStatus)
|
||||
return e.Err.Error() + ", last_cmd_status: " + e.LastCmdStatus
|
||||
}
|
||||
|
||||
func NewLastCmdError(err error) error {
|
||||
|
|
Loading…
Reference in New Issue