diff --git a/types/conf.go b/types/conf.go index 3a5ee2163..a4e2e8d1c 100644 --- a/types/conf.go +++ b/types/conf.go @@ -273,6 +273,7 @@ func delegateAddDeviceID(inBytes []byte, deviceID string) ([]byte, error) { } // Inject deviceID rawConfig["deviceID"] = deviceID + rawConfig["pciBusID"] = deviceID configBytes, err := json.Marshal(rawConfig) if err != nil { return nil, logging.Errorf("delegateAddDeviceID: failed to re-marshal Spec.Config: %v", err) @@ -307,6 +308,7 @@ func addDeviceIDInConfList(inBytes []byte, deviceID string) ([]byte, error) { } // Inject deviceID firstPlugin["deviceID"] = deviceID + firstPlugin["pciBusID"] = deviceID configBytes, err := json.Marshal(rawConfig) if err != nil {