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

determine if domain is valid in 'certs:attach <cert> <domain>'

Open arschles opened this issue 10 years ago • 1 comments

Currently, although certs:attach <cert> <domain> will properly error out if <cert> is bogus/non-existent, it doesn't if <domain> is similarly non-existent. Consider the following unit test, which is currently failing (err is nil):

if err := Attach(&client, "test-example-com", "non-existent.domain.com"); err == nil {
   t.Fatal("An Error should have resulted from the attempt to attach a valid cert to a non-existent domain")
 }

This issue tracks work on the client side, and deis/workflow#475 tracks server-side work

arschles avatar Mar 15 '16 23:03 arschles

Does this require any client side work at all? This looks entirely server side to me.

Joshua-Anderson avatar Jul 18 '16 18:07 Joshua-Anderson