summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorKubeEdge Bot <48982446+kubeedge-bot@users.noreply.github.com>2024-01-16 16:47:26 +0800
committerGitHub <noreply@github.com>2024-01-16 16:47:26 +0800
commit7138f4d5e5019069c272eff098c68a17ea2ccfee (patch)
tree62745ac32349a7e079f22f39aef9decf9524a8ae /common
parentMerge pull request #5251 from wbc6080/update-dmiapi (diff)
parentchange the edgecert subject (diff)
downloadkubeedge-7138f4d5e5019069c272eff098c68a17ea2ccfee.tar.gz
Merge pull request #5294 from Shelley-BaoYue/certificate-uniqueness
Add nodename in edge certificate
Diffstat (limited to 'common')
-rw-r--r--common/constants/default.go3
-rw-r--r--common/types/http.go1
2 files changed, 1 insertions, 3 deletions
diff --git a/common/constants/default.go b/common/constants/default.go
index 07b642816..0f03d62b9 100644
--- a/common/constants/default.go
+++ b/common/constants/default.go
@@ -11,9 +11,6 @@ const (
// SyncController
DefaultContextSendModuleName = "cloudhub"
- // NodeName is for the clearer log of cloudcore.
- NodeName = "NodeName"
-
ProjectName = "KubeEdge"
SystemName = "kubeedge"
diff --git a/common/types/http.go b/common/types/http.go
index 21a4ed7c2..c001b44ac 100644
--- a/common/types/http.go
+++ b/common/types/http.go
@@ -19,4 +19,5 @@ type HTTPResponse struct {
const (
AuthorizationKey = "Authorization"
+ NodeNameKey = "NodeName"
)