summaryrefslogtreecommitdiff
path: root/edge
diff options
context:
space:
mode:
authorwbc6080 <wangbincheng4@huawei.com>2023-09-28 15:21:47 +0800
committerwbc6080 <wangbincheng4@huawei.com>2023-10-09 17:40:08 +0800
commita923e08dbe0c963ded861815532fbf15f2423d9b (patch)
tree24650df046eba014232ef8e87893206f9b6f0443 /edge
parentupdate to v1beta1 version (diff)
downloadkubeedge-a923e08dbe0c963ded861815532fbf15f2423d9b.tar.gz
update generate way and modify mistake
Signed-off-by: wbc6080 <wangbincheng4@huawei.com>
Diffstat (limited to 'edge')
-rw-r--r--edge/pkg/devicetwin/dmiserver/server.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/edge/pkg/devicetwin/dmiserver/server.go b/edge/pkg/devicetwin/dmiserver/server.go
index 689f99885..cfc591acb 100644
--- a/edge/pkg/devicetwin/dmiserver/server.go
+++ b/edge/pkg/devicetwin/dmiserver/server.go
@@ -1,5 +1,5 @@
/*
-Copyright 2022 The KubeEdge Authors.
+Copyright 2023 The KubeEdge Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -84,7 +84,6 @@ func (s *server) MapperRegister(ctx context.Context, in *pb.MapperRegisterReques
s.dmiCache.MapperList[in.Mapper.Name] = in.Mapper
s.dmiCache.MapperMu.Unlock()
- dmiclient.DMIClientsImp.CreateDMIClient(in.Mapper.Protocol, string(in.Mapper.Address))
if !in.WithData {
return &pb.MapperRegisterResponse{}, nil
}