mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Fix a typo
This commit is contained in:
parent
3841690dbf
commit
ff8fbd4c8b
@ -1108,7 +1108,7 @@ func (r *Runtime) getSelinuxContext(opt *v1.SELinuxOptions) (string, error) {
|
|||||||
return strings.Join(ctx, ":"), nil
|
return strings.Join(ctx, ":"), nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// From the generateName or the podName return a basename for improve the logging with the Journal
|
// From the generateName or the podName return a basename for improving the logging with the Journal
|
||||||
// journalctl -t podBaseName
|
// journalctl -t podBaseName
|
||||||
func constructSyslogIdentifier(generateName string, podName string) string {
|
func constructSyslogIdentifier(generateName string, podName string) string {
|
||||||
if (len(generateName) > 1 && generateName[len(generateName) - 1] == '-') {
|
if (len(generateName) > 1 && generateName[len(generateName) - 1] == '-') {
|
||||||
|
Loading…
Reference in New Issue
Block a user