Merge pull request #68 from bart0sh/PR0030-fix-annotation-value

fpga_crihook: fix annotation value
This commit is contained in:
Alexander D. Kanevskiy 2018-08-08 01:18:18 +03:00 committed by GitHub
commit 2a6eda891a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ const (
fpgaDevRegexp = `\/dev\/intel-fpga-port.(\d)$`
afuIDTemplate = "/sys/class/fpga/intel-fpga-dev.%s/intel-fpga-port.%s/afu_id"
annotationName = "com.intel.fpga.mode"
annotationValue = "intel.com/fpga-region"
annotationValue = "fpga.intel.com/region"
)
func decodeJSONStream(reader io.Reader) (map[string]interface{}, error) {