File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -55,14 +55,11 @@ other = "Issue Summary"
55
55
[cve_table ]
56
56
other = " Official Kubernetes CVE List"
57
57
58
- [cve_table_date_before ]
59
- other = " (last updated: "
60
-
61
58
[cve_table_date_format ]
62
59
other = " 02 Jan 2006 15:04:05 MST"
63
60
64
- [cve_table_date_after ]
65
- other = " )"
61
+ [cve_table_date_format_string ]
62
+ other = " (last updated: %s )"
66
63
67
64
[deprecation_title ]
68
65
other = " You are viewing documentation for Kubernetes version:"
Original file line number Diff line number Diff line change 1
1
{{ $feed := getJSON .Site.Params.cveFeedBucket }}
2
2
{{ if ne $feed.version "https://jsonfeed.org/version/1.1" }}
3
- {{ errorf "Build Failed. CVE feed does not comply with JSON feed v1.1" }}
3
+ {{ warnf "CVE feed shortcode. KEP-3203: CVE feed does not comply with JSON feed v1.1. " }}
4
4
{{ end }}
5
5
< table class ="security-cves ">
6
- < caption style ="caption-side: top; "> {{ T "cve_table" }} {{ T "cve_table_date_before" }}{{ $feed._kubernetes_io.updated_at | time.Format ( T "cve_table_date_format" ) }}{{ T "cve_table_date_after" }}</ caption >
6
+ < caption style ="caption-side: top; "> {{ T "cve_table" }} {{ printf ( T "cve_table_date_format_string") ( $feed._kubernetes_io.updated_at | time.Format (T "cve_table_date_format")) }}</ caption >
7
7
< thead >
8
8
< tr >
9
9
< th > {{ T "cve_id" }}</ th >
You can’t perform that action at this time.
0 commit comments