mirror of
https://github.com/openfaas/faas.git
synced 2025-06-27 17:23:25 +00:00
8 lines
235 B
Go
8 lines
235 B
Go
package container
|
|
|
|
// setFromExitStatus is a platform specific helper function to set the state
|
|
// based on the ExitStatus structure.
|
|
func (s *State) setFromExitStatus(exitStatus *ExitStatus) {
|
|
s.ExitCodeValue = exitStatus.ExitCode
|
|
}
|