You've already forked runc
mirror of
https://github.com/opencontainers/runc.git
synced 2025-08-07 01:22:38 +03:00
Use %v for map structure format
Based on Golang document, %s is for "the uninterpreted bytes of the string or slice", so %v is more appropriate. Signed-off-by: Peng Gao <peng.gao.dut@gmail.com>
This commit is contained in:
@@ -326,7 +326,7 @@ func RemovePaths(paths map[string]string) (err error) {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return fmt.Errorf("Failed to remove paths: %s", paths)
|
return fmt.Errorf("Failed to remove paths: %v", paths)
|
||||||
}
|
}
|
||||||
|
|
||||||
func GetHugePageSize() ([]string, error) {
|
func GetHugePageSize() ([]string, error) {
|
||||||
|
Reference in New Issue
Block a user