Skip to content

Commit

Permalink
Update record.Delete signature
Browse files Browse the repository at this point in the history
As per #9.
  • Loading branch information
thechriswalker authored Oct 1, 2017
1 parent 931915c commit 1f23fe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion domain/zone/record/record.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func (self *Record) Add(args RecordAdd) (*RecordInfo, error) {
}

// Remove a record from a zone/version
func (self *Record) Delete(zoneId, version, recordId int64) (bool, error) {
func (self *Record) Delete(zoneId, version int64, recordId string) (bool, error) {
var res int64
deleteArgs := map[string]interface{}{"id": recordId}
params := []interface{}{self.Key, zoneId, version, deleteArgs}
Expand Down

0 comments on commit 1f23fe1

Please sign in to comment.