Skip to content

Commit 1af3043

Browse files
committed
fix-rpc-client
1 parent 7ba24d3 commit 1af3043

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

controller/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ toolchain go1.23.4
77
require (
88
github.com/fatih/structs v1.1.0
99
github.com/itchyny/gojq v0.12.17
10+
github.com/torchiaf/Sensors/rpc_client v0.0.0-20250202022913-2a42e8d8bd20
1011
gopkg.in/yaml.v2 v2.4.0
1112
k8s.io/client-go v0.32.0
1213
)
@@ -23,7 +24,6 @@ require (
2324
github.com/kr/text v0.2.0 // indirect
2425
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
2526
github.com/modern-go/reflect2 v1.0.2 // indirect
26-
github.com/torchiaf/Sensors/rpc_client v0.0.0-20250202005215-c296b8b6cb2b
2727
github.com/x448/float16 v0.8.4 // indirect
2828
golang.org/x/net v0.30.0 // indirect
2929
golang.org/x/text v0.19.0 // indirect

controller/go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
4747
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
4848
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
4949
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
50-
github.com/torchiaf/Sensors/rpc_client v0.0.0-20250202005215-c296b8b6cb2b h1:Gov23VN7l20GFoGg6CCmHbI/90mcUjiZKMizWjRbxTI=
51-
github.com/torchiaf/Sensors/rpc_client v0.0.0-20250202005215-c296b8b6cb2b/go.mod h1:/wPjrnUN+OPaRpEyoe4YHUTSfXNBVsXGBTLowDX96AM=
50+
github.com/torchiaf/Sensors/rpc_client v0.0.0-20250202022913-2a42e8d8bd20 h1:Ym/PM/TlNRyxyCyJp4u0AIB6zk+oPhrRtgm026niDIc=
51+
github.com/torchiaf/Sensors/rpc_client v0.0.0-20250202022913-2a42e8d8bd20/go.mod h1:/wPjrnUN+OPaRpEyoe4YHUTSfXNBVsXGBTLowDX96AM=
5252
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
5353
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
5454
github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=

rpc_client/config/config.go

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ func isDevEnv() bool {
1414
}
1515

1616
func initConfig() models.Config {
17-
1817
modules := utils.ParseYamlFile[[]models.Module]("/sensors/modules.yaml")
1918
modulesMap := utils.Map(modules, func(m models.Module) string { return m.Name })
2019

0 commit comments

Comments
 (0)