summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
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"
)