mirror of https://github.com/containers/podman.git
cmd/podman: remove deadcode
These functions are not used. Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
parent
b27bdea34f
commit
e2d1af5ffe
|
@ -50,20 +50,6 @@ func IDOrLatestArgs(cmd *cobra.Command, args []string) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
// CheckAllLatestAndCIDFile checks that --all and --latest are used correctly for containers and pods
|
||||
// If idFileFlag is set, also checks for the --cidfile or --pod-id-file flag.
|
||||
// Note: this has been deprecated, use CheckAllLatestAndIDFile instead
|
||||
func CheckAllLatestAndCIDFile(c *cobra.Command, args []string, ignoreArgLen bool, cidfile bool) error {
|
||||
return CheckAllLatestAndIDFile(c, args, ignoreArgLen, "cidfile")
|
||||
}
|
||||
|
||||
// CheckAllLatestAndPodIDFile checks that --all and --latest are used correctly.
|
||||
// If withIDFile is set, also check for the --pod-id-file flag.
|
||||
// Note: this has been deprecated, use CheckAllLatestAndIDFile instead
|
||||
func CheckAllLatestAndPodIDFile(c *cobra.Command, args []string, ignoreArgLen bool, withIDFile bool) error {
|
||||
return CheckAllLatestAndIDFile(c, args, ignoreArgLen, "pod-id-file")
|
||||
}
|
||||
|
||||
// CheckAllLatestAndIDFile checks that --all and --latest are used correctly for containers and pods
|
||||
// If idFileFlag is set, also checks for the --cidfile or --pod-id-file flag.
|
||||
func CheckAllLatestAndIDFile(c *cobra.Command, args []string, ignoreArgLen bool, idFileFlag string) error {
|
||||
|
|
Loading…
Reference in New Issue