File tree 2 files changed +11
-1
lines changed
team/[team]/[env]/job/[job]
2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ query AllIngresses {
32
32
... on WorkloadStatusInvalidNaisYaml {
33
33
detail
34
34
}
35
+ ... on WorkloadStatusFailedRun {
36
+ detail
37
+ name
38
+ }
35
39
}
36
40
}
37
41
}
Original file line number Diff line number Diff line change 135
135
</Alert >
136
136
{/if }
137
137
{#if job .status .errors .some ((error ) => error .__typename === ' WorkloadStatusDeprecatedRegistry' )}
138
- <Alert variant =" error" >
138
+ <Alert
139
+ variant ={levelVariant (
140
+ job .status .errors .find (
141
+ (error ) => error .__typename === ' WorkloadStatusDeprecatedRegistry'
142
+ )?.level
143
+ )}
144
+ >
139
145
<BodyShort spacing
140
146
>This job is using a deprecated image registry ({job .status .errors .find (
141
147
(error ) => error .__typename === ' WorkloadStatusDeprecatedRegistry'
You can’t perform that action at this time.
0 commit comments