Skip to content

Commit

Permalink
Merge pull request digitalocean#7 from bfirsh/fix-example-in-readme
Browse files Browse the repository at this point in the history
Fix example in readme
  • Loading branch information
bryanl committed Sep 22, 2014
2 parents 0a9eb5a + a7066ec commit 1c064ed
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ To create a new Droplet:
dropletName := "super-cool-droplet"

createRequest := &godo.DropletCreateRequest{
Name: godo.String(dropletName),
Region: godo.String("nyc2"),
Size: godo.String("512mb"),
Image: godo.Int(3240036), // ubuntu 14.04 64bit
Name: dropletName,
Region: "nyc3",
Size: "512mb",
Image: "ubuntu-14-04-x64",
}

newDroplet, _, err := client.Droplet.Create(createRequest)
newDroplet, _, err := client.Droplets.Create(createRequest)

if err != nil {
fmt.Printf("Something bad happened: %s\n\n", err)
Expand Down

0 comments on commit 1c064ed

Please sign in to comment.