Skip to content

Commit

Permalink
Merge pull request #271 from adobe/upsert-healtchecks
Browse files Browse the repository at this point in the history
feat(healthcheck): add writeHealthcheck method for upserts
  • Loading branch information
trieloff authored Dec 15, 2020
2 parents 4f6e51e + 9081854 commit 43e4334
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,12 @@ class Fastly {
}
});
});

this.writeHealtcheck = this.upsertFn(
this.createHealthcheck,
this.updateHealthcheck,
this.readHealtcheck,
);
}

/**
Expand Down

0 comments on commit 43e4334

Please sign in to comment.