imjoseangel / powerline-k8sstatus

A Powerline segment for showing the status of a K8s context
MIT License
2 stars 0 forks source link

feat(environemnt): add environment variable move to production #17

Closed imjoseangel closed 3 years ago

imjoseangel commented 3 years ago

SUMMARY

Fixes #1

ISSUE TYPE

COMPONENT NAME

environment variable

ADDITIONAL INFORMATION

        if not segment_info['environ'].get('POWERLINE_K8SSTATUS') == "1":
            return None