agregar TODOs
This commit is contained in:
parent
d876b46145
commit
a46cc0d308
1 changed files with 2 additions and 0 deletions
|
@ -80,6 +80,7 @@ class FirecrackerInstance {
|
||||||
*/
|
*/
|
||||||
static async run(opts) {
|
static async run(opts) {
|
||||||
const self = new FirecrackerInstance();
|
const self = new FirecrackerInstance();
|
||||||
|
// TODO: retry until success
|
||||||
await delay(15);
|
await delay(15);
|
||||||
|
|
||||||
await self.request("PUT", "/boot-source", {
|
await self.request("PUT", "/boot-source", {
|
||||||
|
@ -100,6 +101,7 @@ class FirecrackerInstance {
|
||||||
|
|
||||||
// API requests are handled asynchronously, it is important the configuration is
|
// API requests are handled asynchronously, it is important the configuration is
|
||||||
// set, before `InstanceStart`.
|
// set, before `InstanceStart`.
|
||||||
|
// TODO: avoid race condition somehow? this is the way of the firecracker quickstart guide. check firectl/go-sdk
|
||||||
await delay(15);
|
await delay(15);
|
||||||
|
|
||||||
await self.request("PUT", "/actions", {
|
await self.request("PUT", "/actions", {
|
||||||
|
|
Loading…
Reference in a new issue