Skip to content

Commit 58fc604

Browse files
committed
fix: add ListRunningInstancesInfo to mock in builds tests
1 parent 157b8fc commit 58fc604

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/builds/manager_test.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ func (m *mockInstanceManager) ListInstanceAllocations(ctx context.Context) ([]re
122122
return nil, nil
123123
}
124124

125+
func (m *mockInstanceManager) ListRunningInstancesInfo(ctx context.Context) ([]resources.InstanceUtilizationInfo, error) {
126+
return nil, nil
127+
}
128+
125129
// mockVolumeManager implements volumes.Manager for testing
126130
type mockVolumeManager struct {
127131
volumes map[string]*volumes.Volume

0 commit comments

Comments
 (0)