containerd / nri

Node Resource Interface
Apache License 2.0
257 stars 65 forks source link

adaptation: fix a panic for unsolicited updates. #23

Closed klihub closed 1 year ago

klihub commented 1 year ago

Set up adaptation pointer properly during plugin creation/connection acceptance to fix a panic when a plugin sends an unsolicited container update. Also make sure that we get initialized with valid, non-nil function pointers.