ignore errors when attempting heartbeat
This commit is contained in:
parent
449e934cf0
commit
b2e35f9f5a
|
@ -44,9 +44,9 @@ impl Aws {
|
||||||
std::mem::size_of_val(&sockaddr),
|
std::mem::size_of_val(&sockaddr),
|
||||||
)?;
|
)?;
|
||||||
};
|
};
|
||||||
write(fd, &buf)?;
|
dbg!(write(fd, &buf));
|
||||||
read(fd, &mut buf)?;
|
dbg!(read(fd, &mut buf));
|
||||||
close(fd)?;
|
dbg!(close(fd));
|
||||||
|
|
||||||
if buf[0] != 0x87 {
|
if buf[0] != 0x87 {
|
||||||
return Err(InvalidHeartbeatResponse(buf[0]))
|
return Err(InvalidHeartbeatResponse(buf[0]))
|
||||||
|
@ -67,8 +67,8 @@ impl super::Platform for Aws {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn init(&self) -> Result<()> {
|
fn init(&self) -> Result<()> {
|
||||||
// Self::init_heartbeat()?;
|
Self::init_heartbeat()?;
|
||||||
enclaveos_shim::init_platform();
|
// enclaveos_shim::init_platform();
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue