Skip to content

Commit

Permalink
Remove fmt.Printf from domains.go
Browse files Browse the repository at this point in the history
  • Loading branch information
masayuki_oguni committed Jun 1, 2015
1 parent d681ba7 commit e5e4a6d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions domains.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,18 +136,14 @@ func (s *DomainsServiceOp) Create(createRequest *DomainCreateRequest) (*Domain,

req, err := s.client.NewRequest("POST", path, createRequest)
if err != nil {
fmt.Printf("1Something bad happened: %+v", err)
return nil, nil, err
}

root := new(domainRoot)
resp, err := s.client.Do(req, root)
fmt.Printf("%+v\n", resp)
if err != nil {
fmt.Printf("2Something bad happened: %+v", err)
return nil, resp, err
}
fmt.Printf("%+v\n", root)
return root.Domain, resp, err
}

Expand Down

0 comments on commit e5e4a6d

Please sign in to comment.