You've already forked runc
mirror of
https://github.com/opencontainers/runc.git
synced 2025-08-07 01:22:38 +03:00
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:
@@ -758,7 +758,7 @@ type LastCmdError struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (e *LastCmdError) Error() string {
|
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 {
|
func NewLastCmdError(err error) error {
|
||||||
|
Reference in New Issue
Block a user