Skip to content

Commit

Permalink
fixes after review
Browse files Browse the repository at this point in the history
  • Loading branch information
axenteoctavian committed Jan 12, 2024
1 parent 9025d3b commit 5217abc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions factory/api/apiResolverFactory.go
Original file line number Diff line number Diff line change
Expand Up @@ -527,12 +527,7 @@ func addSystemVMToContainerIfNeeded(args *scQueryElementArgs, vmContainer proces
return err
}

err = vmContainer.Add(processFactory.SystemVirtualMachine, vmMeta)
if err != nil {
return err
}

return nil
return vmContainer.Add(processFactory.SystemVirtualMachine, vmMeta)
}

func createMetaVmContainerFactory(args *scQueryElementArgs, argsHook hooks.ArgBlockChainHook) (process.VirtualMachinesContainerFactory, error) {
Expand Down

0 comments on commit 5217abc

Please sign in to comment.