Skip to content

Commit

Permalink
remove unnecessary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Omarabdul3ziz committed Sep 23, 2024
1 parent d69a2f7 commit f4cb779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion cmds/modules/noded/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ func action(cli *cli.Context) error {
WithVirtualized(len(hypervisor) != 0)

go registerationServer(ctx, msgBrokerCon, env, info)

log.Info().Msg("start perf scheduler")

perfMon, err := perf.NewPerformanceMonitor(msgBrokerCon)
Expand Down
4 changes: 2 additions & 2 deletions pkg/registrar/registrar.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,13 @@ type Registrar struct {

func NewRegistrar(ctx context.Context, cl zbus.Client, env environment.Environment, info RegistrationInfo) *Registrar {
r := Registrar{
state: State{
State{
0,
0,
InProgress,
"",
},
mutex: sync.RWMutex{},
sync.RWMutex{},
}

go r.register(ctx, cl, env, info)
Expand Down

0 comments on commit f4cb779

Please sign in to comment.