commit | 0b265d41cb335af679158398f5089d66b1244132 | [log] [tgz] |
---|---|---|
author | Samuel A. Falvo II <kc5tja@arrl.net> | Tue Aug 12 21:20:44 2014 -0700 |
committer | Samuel A. Falvo II <kc5tja@arrl.net> | Tue Aug 12 21:20:44 2014 -0700 |
tree | 2f6faf5fb1126572dd3b34521d149042ee863eee | |
parent | e81c920d5c47ad0eb9953d8561794920bf39ba95 [diff] | |
parent | 74daf53411846a10c5d18b2f1992d4b4f361b92e [diff] |
Merge pull request #174 from msabramo/require_HTTP_200_from_CreateKeyPair 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