Skip to content

Commit c9a0f4d

Browse files
authored
Merge pull request moby#3081 from coryb/empty-secret
mount empty secrets
2 parents 6cb6ae1 + 0123d32 commit c9a0f4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

solver/llbsolver/mounts/mount.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ func (mm *MountManager) getSecretMountable(ctx context.Context, m *pb.Mount, g s
258258
}
259259
return nil
260260
})
261-
if err != nil || dt == nil {
261+
if err != nil {
262262
return nil, err
263263
}
264264
return &secretMount{mount: m, data: dt, idmap: mm.cm.IdentityMapping()}, nil

0 commit comments

Comments
 (0)