mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Rename Resume() to Restore() in netstack.
The existing Resume method in netstack is doing the work of Restore. This method does not resume endpoints as the resumable endpoints are only stored during the Restore of the sandbox, rename the method appropriately. PiperOrigin-RevId: 613320887
This commit is contained in:
committed by
gVisor bot
parent
1676e8a877
commit
a76911efa9
@@ -474,9 +474,9 @@ func (s *Stack) Pause() {
|
||||
s.Stack.Pause()
|
||||
}
|
||||
|
||||
// Resume implements inet.Stack.Resume.
|
||||
func (s *Stack) Resume() {
|
||||
s.Stack.Resume()
|
||||
// Restore implements inet.Stack.Restore.
|
||||
func (s *Stack) Restore() {
|
||||
s.Stack.Restore()
|
||||
}
|
||||
|
||||
// RegisteredEndpoints implements inet.Stack.RegisteredEndpoints.
|
||||
|
||||
Reference in New Issue
Block a user