mirror of
https://github.com/opencontainers/runc.git
synced 2025-10-16 04:20:52 +08:00
Rename Fs fields to fs
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -86,7 +86,7 @@ func TestFactoryLoadContainer(t *testing.T) {
|
||||
var (
|
||||
id = "1"
|
||||
expectedConfig = &configs.Config{
|
||||
RootFs: "/mycontainer/root",
|
||||
Rootfs: "/mycontainer/root",
|
||||
}
|
||||
expectedState = &configs.State{
|
||||
InitPid: 1024,
|
||||
@@ -119,8 +119,8 @@ func TestFactoryLoadContainer(t *testing.T) {
|
||||
|
||||
config := container.Config()
|
||||
|
||||
if config.RootFs != expectedConfig.RootFs {
|
||||
t.Fatalf("expected rootfs %q but received %q", expectedConfig.RootFs, config.RootFs)
|
||||
if config.Rootfs != expectedConfig.Rootfs {
|
||||
t.Fatalf("expected rootfs %q but received %q", expectedConfig.Rootfs, config.Rootfs)
|
||||
}
|
||||
|
||||
lcontainer, ok := container.(*linuxContainer)
|
||||
|
Reference in New Issue
Block a user