Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logger code could be simplified for K8sEnvironment class #52

Closed
xiaomi7732 opened this issue May 1, 2017 · 1 comment
Closed

Logger code could be simplified for K8sEnvironment class #52

xiaomi7732 opened this issue May 1, 2017 · 1 comment

Comments

@xiaomi7732
Copy link
Member

From

    if (loggerFactory != null)
    {
        logger = loggerFactory.CreateLogger<K8sEnvironment>();
    }

to

    logger = loggerFactory?.CreateLogger<K8sEnvironment>();
xiaomi7732 added a commit that referenced this issue May 1, 2017
xiaomi7732 added a commit that referenced this issue May 1, 2017
@xiaomi7732
Copy link
Member Author

Fixed in #53

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant