Skip to content

Commit a0c6b08

Browse files
committed
Removed old function.
Signed-off-by: Yuriy <[email protected]>
1 parent 01b377a commit a0c6b08

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

internal/decryptor/decryptor.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -794,17 +794,6 @@ func securePathErr(root string, err error) error {
794794
return err
795795
}
796796

797-
func checkPathExists(path string) (exists bool, err error) {
798-
exists = false
799-
if _, err = os.Stat(path); err == nil {
800-
exists = true
801-
}
802-
if os.IsNotExist(err) {
803-
err = nil
804-
}
805-
return
806-
}
807-
808797
func formatForPath(path string) formats.Format {
809798
switch {
810799
case strings.HasSuffix(path, corev1.DockerConfigJsonKey):

0 commit comments

Comments
 (0)