Skip to content

Commit

Permalink
fix(jsonnet): add support for volume starting with an environment var…
Browse files Browse the repository at this point in the history
…iable
  • Loading branch information
Toilal committed Feb 5, 2021
1 parent 61f973c commit e4f2bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddb/feature/jsonnet/lib/ddb.docker.libjsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ local groupNameToGid(group) =
_docker_user_group_to_gid[group];

local volume_is_named(v) =
!std.setMember("/", v) && !std.setMember(std.char(92), v) && v != ".";
!std.setMember("/", v) && !std.setMember("$", v) && !std.setMember(std.char(92), v) && v != ".";

local volume_source(v) =
if std.type(v) == 'object' then
Expand Down

0 comments on commit e4f2bcb

Please sign in to comment.