From ac064299412e8d29d5a3e9430fce93b336bc814a Mon Sep 17 00:00:00 2001 From: Illyoung Choi Date: Tue, 23 Apr 2024 15:06:33 -0700 Subject: [PATCH] replace . to :: --- commons/encrypt_meta.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commons/encrypt_meta.go b/commons/encrypt_meta.go index 706e9d6..6ce0f5f 100644 --- a/commons/encrypt_meta.go +++ b/commons/encrypt_meta.go @@ -26,14 +26,14 @@ func GetEncryptionConfigFromMeta(filesystem *irodsclient_fs.FileSystem, targetPa for _, meta := range metas { switch strings.ToLower(meta.Name) { - case "encryption.required", "gocommands.encryption.required": + case "encryption.required", "gocommands.encryption.required", "encryption::required", "gocommands::encryption::required": bv, err := strconv.ParseBool(meta.Value) if err != nil { bv = false } config.Required = bv - case "encryption.mode", "gocommands.encryption.mode": + case "encryption.mode", "gocommands.encryption.mode", "encryption::mode", "gocommands::encryption::mode": config.Mode = GetEncryptionMode(meta.Value) } }