Skip to content

Commit

Permalink
replace . to ::
Browse files Browse the repository at this point in the history
  • Loading branch information
iychoi committed Apr 23, 2024
1 parent c50871c commit ac06429
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commons/encrypt_meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}
Expand Down

0 comments on commit ac06429

Please sign in to comment.