Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: linting and formatting issues #765

Merged
merged 1 commit into from
Jan 27, 2025
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion pkg/infra/search/storage/elasticsearch/resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (s *Storage) GetResource(ctx context.Context, cluster string, obj runtime.O
return err
}

if len(resp.Hits.Hits) == 0 {
if len(resp.Hits.Hits) == 0 {
return fmt.Errorf("no resource found for cluster: %s, namespace: %s, name: %s", cluster, unObj.GetNamespace(), unObj.GetName())
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,18 +251,26 @@
0 2px 4px rgba(149, 128, 247, 0.12);
box-sizing: border-box;
border: 1px solid rgba(149, 128, 247, 0.15);
background-image: radial-gradient(ellipse 489px 674px at 6px 0px,
background-image: radial-gradient(
ellipse 489px 674px at 6px 0px,
#ffffff 0%,
#f3efff 100%),
radial-gradient(ellipse 587px 672px at 433px 513px,
#f3efff 100%
),
radial-gradient(
ellipse 587px 672px at 433px 513px,
#ece6ff95 0%,
#f0e9ff30 100%),
radial-gradient(ellipse 346px 396px at 15px 506px,
#f0e9ff30 100%
),
radial-gradient(
ellipse 346px 396px at 15px 506px,
#e9e3ff90 0%,
#f0e9ff30 100%),
radial-gradient(ellipse 583px 668px at 436px 8px,
#f0e9ff30 100%
),
radial-gradient(
ellipse 583px 668px at 436px 8px,
#ffffff 0%,
#f5f0ff30 100%);
#f5f0ff30 100%
);

.events_content_diagnosisHeader {
padding: 12px 16px;
Expand All @@ -276,10 +284,11 @@
font-weight: 500;
color: #000;
backdrop-filter: blur(8px);
background: linear-gradient(to right,
rgba(255, 255, 255, 0.95),
rgba(243, 239, 255, 0.95));

background: linear-gradient(
to right,
rgba(255, 255, 255, 0.95),
rgba(243, 239, 255, 0.95)
);

.events_content_diagnosisHeader_aiIcon {
width: 18px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -876,4 +876,3 @@
transform: rotate(360deg);
}
}

Loading