Skip to content

Commit

Permalink
Merge pull request #10 from thechriswalker/patch-1
Browse files Browse the repository at this point in the history
Update record.Delete signature
  • Loading branch information
prasmussen authored Oct 1, 2017
2 parents 931915c + 1f23fe1 commit 2dd22da
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 2dd22da

Please sign in to comment.