Skip to content

Commit

Permalink
Merge pull request #386 from Plaenkler/fix-missing-pointer
Browse files Browse the repository at this point in the history
[FIX] Unmarshal needs pointer
  • Loading branch information
Plaenkler authored Jul 24, 2024
2 parents 5c82566 + 647a63e commit 80d1ed4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ddns/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func updateDDNSEntries(db *gorm.DB, jobs []model.SyncJob, a model.IPAddress) {
continue
}
request := updater.Request
err = json.Unmarshal(params, request)
err = json.Unmarshal(params, &request)
if err != nil {
log.Errorf("[ddns-updateDDNSEntries-3] failed to unmarshal job params for job %v: %s", job.ID, err)
continue
Expand Down

0 comments on commit 80d1ed4

Please sign in to comment.