mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
crihook; fix forgotten error check
This commit is contained in:
parent
a6b3a217e8
commit
73ac87cd8d
@ -270,6 +270,9 @@ func (he *hookEnv) process(reader io.Reader) error {
|
||||
defer bitstream.Close()
|
||||
|
||||
err = port.PR(bitstream, false)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
programmedAfu = port.GetAcceleratorTypeUUID()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user