@@ -12,8 +12,8 @@ <h3>Template</h3>
12
12
<!-- Prompt to add health checks if missing. -->
13
13
< div ng-if ="detailed && addHealthCheckUrl && !(podTemplate | hasHealthChecks) " class ="alert alert-info ">
14
14
< span class ="pficon pficon-info " aria-hidden ="true "> </ span >
15
- < span ng-if ="initContainers.length === 1 "> This container has no health checks</ span >
16
- < span ng-if ="initContainers.length > 1 "> Not all containers have health checks</ span >
15
+ < span ng-if ="podTemplate.spec. initContainers.length === 1 "> This container has no health checks</ span >
16
+ < span ng-if ="podTemplate.spec. initContainers.length > 1 "> Not all containers have health checks</ span >
17
17
to ensure your application is running correctly.
18
18
< a ng-href ="{{addHealthCheckUrl}} " class ="nowrap "> Add Health Checks</ a >
19
19
</ div >
@@ -22,7 +22,7 @@ <h3>Template</h3>
22
22
< h4 > Init Containers</ h4 >
23
23
24
24
< div class ="pod-template-container ">
25
- < div class ="pod-template-block " ng-repeat ="container in initContainers ">
25
+ < div class ="pod-template-block " ng-repeat ="container in podTemplate.spec. initContainers ">
26
26
27
27
< pod-template-container
28
28
pod-template-container ="container "
@@ -45,7 +45,7 @@ <h4>Init Containers</h4>
45
45
< h4 > Containers</ h4 >
46
46
47
47
< div class ="pod-template-container ">
48
- < div class ="pod-template-block " ng-repeat ="container in containers ">
48
+ < div class ="pod-template-block " ng-repeat ="container in podTemplate.spec. containers ">
49
49
50
50
< pod-template-container
51
51
pod-template-container ="container "
@@ -57,7 +57,7 @@ <h4>Containers</h4>
57
57
extension-point
58
58
extension-name ="container-links "
59
59
extension-types ="link dom "
60
- extension-args ="[container, containers ] "> </ div >
60
+ extension-args ="[container, podTemplate ] "> </ div >
61
61
62
62
</ div >
63
63
</ div >
0 commit comments