Skip to content

Commit

Permalink
linting and fix md
Browse files Browse the repository at this point in the history
  • Loading branch information
facchettos committed Feb 16, 2024
1 parent 7eb6ec1 commit 1e79591
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions docs/pages/deploying-vclusters/compat-matrix.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Legend:

! : known issue

+ : likely compatible
\+ : likely compatible

## Compatibility Matrix for k8s distro

Expand All @@ -32,7 +32,7 @@ Legend:

! : known issue

+ : likely compatible
\+ : likely compatible

## Compatibility Matrix for k0s distro

Expand All @@ -50,7 +50,7 @@ Legend:

! : known issue

+ : likely compatible
\+ : likely compatible

## Compatibility Matrix for eks distro

Expand All @@ -68,5 +68,5 @@ Legend:

! : known issue

+ : likely compatible
\+ : likely compatible

8 changes: 4 additions & 4 deletions hack/compat-matrix/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ func updateTableWithDistro(distroName string, versionMap map[string]string, know
}

for hostVersion, issueList := range issues {
for vclusterApi, issueDesc := range issueList {
issues[hostVersion][removeRegistry(vclusterApi)] = issueDesc
if removeRegistry(vclusterApi) != vclusterApi {
for vclusterAPI, issueDesc := range issueList {
issues[hostVersion][removeRegistry(vclusterAPI)] = issueDesc
if removeRegistry(vclusterAPI) != vclusterAPI {
// avoids removing valid entries
delete(issues[hostVersion], vclusterApi)
delete(issues[hostVersion], vclusterAPI)
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion hack/compat-matrix/matrix-template.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ Legend:

! : known issue

+ : likely compatible
\+ : likely compatible

0 comments on commit 1e79591

Please sign in to comment.