SaaShup / netbox-docker-plugin

Netbox Docker Plugin
https://saashup.com
BSD 3-Clause "New" or "Revised" License
65 stars 5 forks source link

PATCH container can delete relationship #124

Closed fanshan closed 6 months ago

fanshan commented 6 months ago
Netbox version Plugin Version Agent version Docker API Version
3.7.* 1.8.0 * *

Actual Behavior

When we update a container via a PATH request on the Netbox API and we don't provide ports, env, label... (for example update only the state of an Container), the container's relationship (port, env, label, mount, bind...) are deleted.

Desired Behavior

Update a container via a PATCH request on Netbox API should not delete container relationship.