imjoseangel / powerline-k8sstatus

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

Refactor context alert #38

Closed imjoseangel closed 3 years ago

imjoseangel commented 3 years ago

SUMMARY

Refactor Context alert for other alert options

ISSUE TYPE

COMPONENT NAME

context alert

ADDITIONAL INFORMATION

change alert by contextalert

def build_segments(context, namespace, user, contextalert):