Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
driver/powerdriver: raise NotImplementedError on PDUDaemonDriver.get()
pdudaemon does not implement port state retrieval. PDUDaemonDriver.get() returns None. This leads to cases where None is interpreted as "off", i.e. with constructs relying on `bool(drv.get())`. `labgrid-client power get` is one of those cases. So raise a NotImplementedError instead. Signed-off-by: Bastian Krause <[email protected]>
- Loading branch information