@@ -13,7 +13,7 @@ import (
13
13
"github.com/threefoldtech/zosbase/pkg"
14
14
"github.com/threefoldtech/zosbase/pkg/gridtypes/zos"
15
15
"github.com/threefoldtech/zosbase/pkg/kernel"
16
- "github.com/threefoldtech/zosbase/pkg/stubs"
16
+ "github.com/threefoldtech/zosbase/pkg/stubs"
17
17
)
18
18
19
19
var _ pkg.SystemMonitor = (* systemMonitor )(nil )
@@ -22,7 +22,7 @@ var _ pkg.SystemMonitor = (*systemMonitor)(nil)
22
22
type systemMonitor struct {
23
23
duration time.Duration
24
24
node uint32
25
- cl zbus.Client
25
+ cl zbus.Client
26
26
}
27
27
28
28
// NewSystemMonitor creates new system of system monitor
@@ -31,7 +31,7 @@ func NewSystemMonitor(node uint32, duration time.Duration, cl zbus.Client) (pkg.
31
31
duration = 2 * time .Second
32
32
}
33
33
34
- return & systemMonitor {duration : duration , node : node , cl : cl }, nil
34
+ return & systemMonitor {duration : duration , node : node , cl : cl }, nil
35
35
}
36
36
37
37
func (m * systemMonitor ) NodeID () uint32 {
@@ -219,11 +219,11 @@ func (n *systemMonitor) GetNodeFeatures() []pkg.NodeFeature {
219
219
}
220
220
feat = append (feat , zosLightFeat ... )
221
221
222
- netStub := stubs .NewNetworkerLightStub (n .cl )
223
- config , err := netStub .LoadPublicConfig (context .Background ())
224
- if err == nil && config .Domain != "" {
225
- feat = append (feat , "gateway-name-proxy" )
226
- feat = append (feat , "gateway-fqdn-proxy" )
222
+ netStub := stubs .NewNetworkerLightStub (n .cl )
223
+ config , err := netStub .LoadPublicConfig (context .Background ())
224
+ if err == nil && config .Domain != "" {
225
+ feat = append (feat , "gateway-name-proxy" )
226
+ feat = append (feat , "gateway-fqdn-proxy" )
227
227
}
228
228
return feat
229
229
}
0 commit comments