@@ -13,7 +13,7 @@ import (
1313 "github.com/threefoldtech/zosbase/pkg"
1414 "github.com/threefoldtech/zosbase/pkg/gridtypes/zos"
1515 "github.com/threefoldtech/zosbase/pkg/kernel"
16- "github.com/threefoldtech/zosbase/pkg/stubs"
16+ "github.com/threefoldtech/zosbase/pkg/stubs"
1717)
1818
1919var _ pkg.SystemMonitor = (* systemMonitor )(nil )
@@ -22,7 +22,7 @@ var _ pkg.SystemMonitor = (*systemMonitor)(nil)
2222type systemMonitor struct {
2323 duration time.Duration
2424 node uint32
25- cl zbus.Client
25+ cl zbus.Client
2626}
2727
2828// NewSystemMonitor creates new system of system monitor
@@ -31,7 +31,7 @@ func NewSystemMonitor(node uint32, duration time.Duration, cl zbus.Client) (pkg.
3131 duration = 2 * time .Second
3232 }
3333
34- return & systemMonitor {duration : duration , node : node , cl : cl }, nil
34+ return & systemMonitor {duration : duration , node : node , cl : cl }, nil
3535}
3636
3737func (m * systemMonitor ) NodeID () uint32 {
@@ -219,11 +219,11 @@ func (n *systemMonitor) GetNodeFeatures() []pkg.NodeFeature {
219219 }
220220 feat = append (feat , zosLightFeat ... )
221221
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" )
227227 }
228228 return feat
229229 }
0 commit comments