File tree 2 files changed +17
-4
lines changed
2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 57
57
... on WorkloadStatusNoRunningInstances {
58
58
level
59
59
}
60
+ ... on WorkloadStatusOutboundNetwork {
61
+ level
62
+ }
63
+ ... on WorkloadStatusInboundNetwork {
64
+ level
65
+ }
60
66
}
61
67
` )
62
68
)
107
113
</Alert >
108
114
{:else if type === ' WorkloadStatusInvalidNaisYaml' }
109
115
<Alert variant ={variant ($data .level )}>
110
- The < em >nais.yaml</ em > configuration is invalid for application <strong >{app }</strong >:
116
+ The manifest for <strong >{app }</strong > includes invalid configuration :
111
117
<br />{$data .detail }
112
118
</Alert >
113
119
{:else if type === ' WorkloadStatusSynchronizationFailing' }
207
213
risk score of other severities exceeding 100. Please keep your dependencies up to date. See
208
214
<a href ="/team/ {team }/ {env }/app/ {app }/image" >image details</a > for more details.
209
215
</Alert >
210
- {:else }
216
+ {:else if type !== ' WorkloadStatusOutboundNetwork ' && type !== ' WorkloadStatusInboundNetwork ' }
211
217
<Alert variant =" error" >Unkown error</Alert >
212
218
{/if }
213
219
</div >
Original file line number Diff line number Diff line change 47
47
detail
48
48
name
49
49
}
50
+ ... on WorkloadStatusOutboundNetwork {
51
+ level
52
+ }
53
+ ... on WorkloadStatusInboundNetwork {
54
+ level
55
+ }
50
56
}
51
57
` )
52
58
)
81
87
</Alert >
82
88
{:else if type === ' WorkloadStatusInvalidNaisYaml' }
83
89
<Alert variant ={variant ($data .level )}>
84
- Nais-yaml might be invalid for application <strong >{job }</strong >.
90
+ The manifest for <strong >{job }</strong > includes invalid configuration:
91
+ <br />{$data .detail }
85
92
</Alert >
86
93
<!--{:else if type === 'WorkloadStatusInboundNetwork'}
87
94
<Alert variant={variant($data.level)}>
171
178
<h4 >Failed to run job</h4 >
172
179
{$data .detail }
173
180
</Alert >
174
- {:else }
181
+ {:else if type !== ' WorkloadStatusOutboundNetwork ' && type !== ' WorkloadStatusInboundNetwork ' }
175
182
<Alert variant =" error" >Unkown error</Alert >
176
183
{/if }
177
184
</div >
You can’t perform that action at this time.
0 commit comments