summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-09 19:26:05 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-09 19:26:05 +0000
commit69aa120d401c6d6028aebe4c050cefb4794a60f1 (patch)
tree9b57d56a75d3900b35c7814bf1417057f8fac933 /runsc
parent578aece760dd47a06a686f82efab5b650807d4c5 (diff)
parent743327817faa1aa46ff3b31f74a0c5c2d047d65a (diff)
Merge release-20200928.0-78-g743327817 (automated)
Diffstat (limited to 'runsc')
-rw-r--r--runsc/boot/boot_state_autogen.go22
1 files changed, 11 insertions, 11 deletions
diff --git a/runsc/boot/boot_state_autogen.go b/runsc/boot/boot_state_autogen.go
index d33aa4293..92736f360 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 (s *sandboxNetstackCreator) StateTypeName() string {
+func (f *sandboxNetstackCreator) StateTypeName() string {
return "runsc/boot.sandboxNetstackCreator"
}
-func (s *sandboxNetstackCreator) StateFields() []string {
+func (f *sandboxNetstackCreator) StateFields() []string {
return []string{
"clock",
"uniqueID",
}
}
-func (s *sandboxNetstackCreator) beforeSave() {}
+func (f *sandboxNetstackCreator) beforeSave() {}
-func (s *sandboxNetstackCreator) StateSave(stateSinkObject state.Sink) {
- s.beforeSave()
- stateSinkObject.Save(0, &s.clock)
- stateSinkObject.Save(1, &s.uniqueID)
+func (f *sandboxNetstackCreator) StateSave(stateSinkObject state.Sink) {
+ f.beforeSave()
+ stateSinkObject.Save(0, &f.clock)
+ stateSinkObject.Save(1, &f.uniqueID)
}
-func (s *sandboxNetstackCreator) afterLoad() {}
+func (f *sandboxNetstackCreator) afterLoad() {}
-func (s *sandboxNetstackCreator) StateLoad(stateSourceObject state.Source) {
- stateSourceObject.Load(0, &s.clock)
- stateSourceObject.Load(1, &s.uniqueID)
+func (f *sandboxNetstackCreator) StateLoad(stateSourceObject state.Source) {
+ stateSourceObject.Load(0, &f.clock)
+ stateSourceObject.Load(1, &f.uniqueID)
}
func init() {