Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .coderabbit.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
version: 2
language: "en-US"
early_access: false

Expand Down
15 changes: 12 additions & 3 deletions internal/healthcheck/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,32 @@
) {
wg := sync.WaitGroup{}

service := &cfg.Cluster
if service.Enabled && len(service.Resources) > 0 {
cluster := &cfg.Cluster
if cluster.Enabled && len(cluster.Resources) > 0 {
if cluster.Tag == "" {
cluster.Tag = "cluster"
}
wg.Go(func() {

Check failure on line 27 in internal/healthcheck/check.go

View workflow job for this annotation

GitHub Actions / check / validate-and-testing

missing whitespace above this line (invalid statement above expr) (wsl_v5)
ch.processResources(ctx, service, verifyServiceResource, resultCollector)
ch.processResources(ctx, cluster, verifyServiceResource, resultCollector)
})
Comment thread
coderabbitai[bot] marked this conversation as resolved.
}

k8s := &cfg.Kubernetes
if k8s.Enabled && len(k8s.Resources) > 0 {
if k8s.Tag == "" {
k8s.Tag = "kubernetes"
}
wg.Go(func() {

Check failure on line 37 in internal/healthcheck/check.go

View workflow job for this annotation

GitHub Actions / check / validate-and-testing

missing whitespace above this line (invalid statement above expr) (wsl_v5)
ch.processResources(ctx, k8s, verifyK8SResource, resultCollector)
})
}

linkerd := &cfg.Linkerd
if linkerd.Enabled {
if linkerd.Tag == "" {
linkerd.Tag = "linkerd"
}
wg.Go(func() {

Check failure on line 47 in internal/healthcheck/check.go

View workflow job for this annotation

GitHub Actions / check / validate-and-testing

missing whitespace above this line (invalid statement above expr) (wsl_v5)
ch.processLinkerdResources(ctx, linkerd, resultCollector)
})
}
Expand Down
Loading