~julian-edwards/gwacl/licence-readme-etc

« back to all changes in this revision

Viewing changes to management_base.go

  • Committer: Tarmac
  • Author(s): Gavin Panella
  • Date: 2013-07-25 22:02:41 UTC
  • mfrom: (192.2.26 remove-role-endpoints)
  • Revision ID: tarmac-20130725220241-3h1spquba0z4x8tk
[r=julian-edwards,rvb][bug=][author=allenap] New method RemoveRoleEndpoints.

Show diffs side-by-side

added added

removed removed

Lines of Context:
452
452
    if err != nil {
453
453
        return err
454
454
    }
455
 
    _, err = api.session.put(url, "2012-03-01", []byte(role), "application/octet-stream")
 
455
    response, err := api.session.put(url, "2012-03-01", []byte(role), "application/xml")
456
456
    if err != nil {
457
457
        return err
458
458
    }
459
 
    return nil
 
459
    return api.blockUntilCompleted(response)
460
460
}
461
461
 
462
462
type CreateAffinityGroupRequest struct {