mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
Merge pull request #99 from bart0sh/PR0040-crihook-fix-fpgaconf-option
fpga_crihook: use -s fpgaconf option
This commit is contained in:
commit
a936934b5f
@ -119,7 +119,7 @@ func (bitStream *opaeBitStream) validate() error {
|
||||
}
|
||||
|
||||
func (bitStream *opaeBitStream) program() error {
|
||||
output, err := bitStream.execer.Command(fpgaconf, "-S", bitStream.params.devNum, bitStream.path).CombinedOutput()
|
||||
output, err := bitStream.execer.Command(fpgaconf, "-s", bitStream.params.devNum, bitStream.path).CombinedOutput()
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "failed to program AFU %s to socket %s, region %s: output: %s", bitStream.params.afu, bitStream.params.devNum, bitStream.params.region, string(output))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user