diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-10-08 01:32:17 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-10-08 01:32:17 +0000 |
commit | 8f70c8003e9d132fc766ed7d92ce805c093d518b (patch) | |
tree | 6d77a3246e3f04605790d410e7630cb910704ced /runsc/boot | |
parent | 8f9d99c812b7599c52ed98f80c1a33717758a5c6 (diff) | |
parent | a55bd73d4802112a7055de8663e947b9c0f42a2e (diff) |
Merge release-20200928.0-66-ga55bd73d4 (automated)
Diffstat (limited to 'runsc/boot')
-rw-r--r-- | runsc/boot/boot_state_autogen.go | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/runsc/boot/boot_state_autogen.go b/runsc/boot/boot_state_autogen.go index d025a2a1a..d33aa4293 100644 --- a/runsc/boot/boot_state_autogen.go +++ b/runsc/boot/boot_state_autogen.go @@ -6,30 +6,30 @@ import ( "gvisor.dev/gvisor/pkg/state" ) -func (x *sandboxNetstackCreator) StateTypeName() string { +func (s *sandboxNetstackCreator) StateTypeName() string { return "runsc/boot.sandboxNetstackCreator" } -func (x *sandboxNetstackCreator) StateFields() []string { +func (s *sandboxNetstackCreator) StateFields() []string { return []string{ "clock", "uniqueID", } } -func (x *sandboxNetstackCreator) beforeSave() {} +func (s *sandboxNetstackCreator) beforeSave() {} -func (x *sandboxNetstackCreator) StateSave(m state.Sink) { - x.beforeSave() - m.Save(0, &x.clock) - m.Save(1, &x.uniqueID) +func (s *sandboxNetstackCreator) StateSave(stateSinkObject state.Sink) { + s.beforeSave() + stateSinkObject.Save(0, &s.clock) + stateSinkObject.Save(1, &s.uniqueID) } -func (x *sandboxNetstackCreator) afterLoad() {} +func (s *sandboxNetstackCreator) afterLoad() {} -func (x *sandboxNetstackCreator) StateLoad(m state.Source) { - m.Load(0, &x.clock) - m.Load(1, &x.uniqueID) +func (s *sandboxNetstackCreator) StateLoad(stateSourceObject state.Source) { + stateSourceObject.Load(0, &s.clock) + stateSourceObject.Load(1, &s.uniqueID) } func init() { |