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:
Kir Kolyshkin 2020-03-20 12:33:24 -07:00
parent 5542a2c77d
commit a572216f74
1 changed files with 1 additions and 1 deletions

View File

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