Skip to content

Commit

Permalink
Add kernel.Saver.OCIEnviron().
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 682028684
  • Loading branch information
ayushr2 authored and gvisor-bot committed Oct 3, 2024
1 parent a446b45 commit 7957bfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/sentry/kernel/kernel.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ type Kernel struct {
// Saver is an interface for saving the kernel.
type Saver interface {
SaveAsync() error
OCIEnviron(containerName string) []string
}

// InitKernelArgs holds arguments to Init.
Expand Down

0 comments on commit 7957bfd

Please sign in to comment.