mirror of https://github.com/containers/podman.git
Merge pull request #19355 from dfr/freebsd-hc
libpod: don't generate errors for createTimer etc.
This commit is contained in:
commit
2a29fcb704
|
@ -5,21 +5,20 @@ package libpod
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// createTimer systemd timers for healthchecks of a container
|
// createTimer systemd timers for healthchecks of a container
|
||||||
func (c *Container) createTimer(interval string, isStartup bool) error {
|
func (c *Container) createTimer(interval string, isStartup bool) error {
|
||||||
return errors.New("not implemented (*Container) createTimer")
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// startTimer starts a systemd timer for the healthchecks
|
// startTimer starts a systemd timer for the healthchecks
|
||||||
func (c *Container) startTimer(isStartup bool) error {
|
func (c *Container) startTimer(isStartup bool) error {
|
||||||
return errors.New("not implemented (*Container) startTimer")
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// removeTransientFiles removes the systemd timer and unit files
|
// removeTransientFiles removes the systemd timer and unit files
|
||||||
// for the container
|
// for the container
|
||||||
func (c *Container) removeTransientFiles(ctx context.Context, isStartup bool) error {
|
func (c *Container) removeTransientFiles(ctx context.Context, isStartup bool) error {
|
||||||
return errors.New("not implemented (*Container) removeTransientFiles")
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue