summaryrefslogtreecommitdiff
path: root/cmd/podman/parse/parse_windows.go
diff options
context:
space:
mode:
authorBrent Baude <bbaude@redhat.com>2022-08-24 09:28:39 -0500
committerBrent Baude <bbaude@redhat.com>2022-08-24 10:31:42 -0500
commit19a617eaab02c27b0975333bb2c1db0998ce4d59 (patch)
tree4eaa0483acadcf8fcee8c154b2b5bf5bdbbe5023 /cmd/podman/parse/parse_windows.go
parent34d516840df73787d2359037e4a2ab51849e59eb (diff)
downloadpodman-19a617eaab02c27b0975333bb2c1db0998ce4d59.tar.gz
podman-19a617eaab02c27b0975333bb2c1db0998ce4d59.tar.bz2
podman-19a617eaab02c27b0975333bb2c1db0998ce4d59.zip
Allow colons in windows file paths
the `podman save` command was failing on windows due to the use of a colon between the drive letter and first directory. the check was intended for Linux and not windows. Fixes #15247 [NO NEW TESTS NEEDED] Signed-off-by: Brent Baude <bbaude@redhat.com>
Diffstat (limited to 'cmd/podman/parse/parse_windows.go')
-rw-r--r--cmd/podman/parse/parse_windows.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmd/podman/parse/parse_windows.go b/cmd/podman/parse/parse_windows.go
new file mode 100644
index 000000000..794f4216d
--- /dev/null
+++ b/cmd/podman/parse/parse_windows.go
@@ -0,0 +1,5 @@
+package parse
+
+func ValidateFileName(filename string) error {
+ return nil
+}