Skip to content

Commit 80794db

Browse files
committed
fix: stop falling through on schedule
Signed-off-by: Anton Whalley <[email protected]>
1 parent 9f11875 commit 80794db

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

core-dump-agent/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ async fn main() -> Result<(), anyhow::Error> {
212212
panic!("Schedule Start failed, {:#?}", e);
213213
}
214214
};
215+
loop {
216+
std::thread::sleep(Duration::from_millis(1000));
217+
}
215218
}
216219

217220
if use_inotify == "true" {

integration/run-ibm.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
#! /bin/bash
22

33
cd ../
4+
set -a
45
export $(grep -v '^#' .env | xargs)
5-
6+
set +a
67
cd ./charts/core-dump-handler
78

89
helm install core-dump-handler . --create-namespace --namespace observe \

0 commit comments

Comments
 (0)