faas-cli icon indicating copy to clipboard operation
faas-cli copied to clipboard

refactor TLS warning messages

Open mario-mazo opened this issue 6 years ago • 2 comments

TLS warning messages should be refactored to a more flexible approach

Expected Behaviour

something like

checkTLS(io.Writer, gateway, tlsenabled)

should validate and print the warning

Current Behaviour

There is a return statement and extra \n

Possible Solution

please refer to #581

mario-mazo avatar Jan 28 '19 20:01 mario-mazo

I will work on it

mario-mazo avatar Jan 28 '19 20:01 mario-mazo

Putting this into review.

alexellis avatar Jan 28 '19 20:01 alexellis