Merge pull request #78 from markpeek/markpeek-keypair
Add support for keypairs
diff --git a/README.asciidoc b/README.asciidoc
index f6eacea..4d2e4c4 100644
--- a/README.asciidoc
+++ b/README.asciidoc
@@ -30,7 +30,7 @@
-----------------------------------------------------------------------------------------------------
You can execute the following command to create a brand new Go workspace that is minimally configured for use with Gophercloud. This should work for any reasonable POSIX-compatible environment.
- source <(curl "https://raw.github.com/rackspace/Gophercloud/master/scripts/create-env.sh")
+ source <(curl "https://raw.github.com/rackspace/Gophercloud/master/scripts/create-environment.sh")
-----------------------------------------------------------------------------------------------------
This script will not only install the software, but also create a shell script `env.sh` which, when executed, restores both `$GOPATH` and `$GOPHERCLOUD` to their correct values. The project will be installed in `$HOME/go/gophercloud`.
diff --git a/servers.go b/servers.go
index c9a53a9..6de42b0 100644
--- a/servers.go
+++ b/servers.go
@@ -493,7 +493,7 @@
// Any Links provided are used to refer to the server specifically by URL.
// These links are useful for making additional REST calls not explicitly supported by Gorax.
type NewServer struct {
- Name string `json:"name",omitempty`
+ Name string `json:"name,omitempty"`
ImageRef string `json:"imageRef,omitempty"`
FlavorRef string `json:"flavorRef,omitempty"`
Metadata interface{} `json:"metadata,omitempty"`