gini / dexter

dexter is a Kubernetes OIDC helper with as much automation as possible
https://blog.gini.net/frictionless-kubernetes-openid-connect-integration-f1c356140937
MIT License
166 stars 29 forks source link

Return the cmd error in Execute function #26

Closed pussinboots closed 5 years ago

pussinboots commented 5 years ago

Replace the os.Exit call with return statement.

To use the dexter go as a full library we had to adapt the command handling and add a couple of explicit return statements.

But after that it works like charm.

dkerwin commented 5 years ago

Thank you!