diff options
| author | wbc6080 <wangbincheng4@huawei.com> | 2023-09-28 15:21:47 +0800 |
|---|---|---|
| committer | wbc6080 <wangbincheng4@huawei.com> | 2023-10-09 17:40:08 +0800 |
| commit | a923e08dbe0c963ded861815532fbf15f2423d9b (patch) | |
| tree | 24650df046eba014232ef8e87893206f9b6f0443 /edge | |
| parent | update to v1beta1 version (diff) | |
| download | kubeedge-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.go | 3 |
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 } |
