mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-30 19:44:18 -04:00
Allow waiting for multiple states (#11)
* Simplify `fetch_pcrs.sh` script * Allow waiting for multiple states Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
9df71da33f
commit
eb3411f2c1
7 changed files with 87 additions and 31 deletions
|
@ -10,6 +10,6 @@ type stubStatusWaiter struct {
|
|||
waitForAllErr error
|
||||
}
|
||||
|
||||
func (w stubStatusWaiter) WaitForAll(ctx context.Context, status state.State, endpoints []string) error {
|
||||
func (w stubStatusWaiter) WaitForAll(ctx context.Context, endpoints []string, status ...state.State) error {
|
||||
return w.waitForAllErr
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue