diff --git a/src/deploy/psrmodels.jl b/src/deploy/psrmodels.jl index 8aaddd1..0cd0577 100644 --- a/src/deploy/psrmodels.jl +++ b/src/deploy/psrmodels.jl @@ -1,13 +1,9 @@ -function get_key(contents::Pair) - return contents.second -end - -function get_key(contents::Dict) +function get_key(contents::Any) return contents["Key"] end -function get_key(contents::OrderedCollections.LittleDict) - return contents["Key"] +function get_key(contents::Pair) + return contents.second end function generate_unique_key(;