avoid shadowing in dig module
Merge pull request #10560 from hulu/dig-shadowing

avoid shadowing in dig module