commit | 74daf53411846a10c5d18b2f1992d4b4f361b92e | [log] [tgz] |
---|---|---|
author | Marc Abramowitz <marc@marc-abramowitz.com> | Tue Aug 12 09:22:35 2014 -0700 |
committer | Marc Abramowitz <marc@marc-abramowitz.com> | Tue Aug 12 09:22:35 2014 -0700 |
tree | adc6a2917f712d9a6d17e1f1a8403e9fcdd932fb | |
parent | e4980c002a171fe13a2c79112de63663cc3201c7 [diff] |
Require HTTP 200 from os-keypairs in CreateKeyPair
diff --git a/keypairs.go b/keypairs.go index 9ab8ea7..8ae8cd3 100644 --- a/keypairs.go +++ b/keypairs.go
@@ -47,6 +47,7 @@ MoreHeaders: map[string]string{ "X-Auth-Token": gsp.access.AuthToken(), }, + OkCodes: []int{200}, }) }) return kp, err