Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
300b1bab
Unverified
Commit
300b1bab
authored
Dec 04, 2018
by
Kubernetes Prow Robot
Committed by
GitHub
Dec 04, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #71636 from tao12345666333/rm-duplicate-word
remove duplicate word
parents
b6c8ef29
b32bd6e8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
secure_serving.go
staging/src/k8s.io/apiserver/pkg/server/secure_serving.go
+2
-2
No files found.
staging/src/k8s.io/apiserver/pkg/server/secure_serving.go
View file @
300b1bab
...
@@ -165,12 +165,12 @@ func RunServer(
...
@@ -165,12 +165,12 @@ func RunServer(
type
NamedTLSCert
struct
{
type
NamedTLSCert
struct
{
TLSCert
tls
.
Certificate
TLSCert
tls
.
Certificate
//
n
ames is a list of domain patterns: fully qualified domain names, possibly prefixed with
//
N
ames is a list of domain patterns: fully qualified domain names, possibly prefixed with
// wildcard segments.
// wildcard segments.
Names
[]
string
Names
[]
string
}
}
//
getNamedCertificateMap returns a map of *tls.Certificate by name. It's i
s
//
GetNamedCertificateMap returns a map of *tls.Certificate by name. It'
s
// suitable for use in tls.Config#NamedCertificates. Returns an error if any of the certs
// suitable for use in tls.Config#NamedCertificates. Returns an error if any of the certs
// cannot be loaded. Returns nil if len(certs) == 0
// cannot be loaded. Returns nil if len(certs) == 0
func
GetNamedCertificateMap
(
certs
[]
NamedTLSCert
)
(
map
[
string
]
*
tls
.
Certificate
,
error
)
{
func
GetNamedCertificateMap
(
certs
[]
NamedTLSCert
)
(
map
[
string
]
*
tls
.
Certificate
,
error
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment