Skip to content
Snippets Groups Projects
Commit caeae902 authored by Malte Bauch's avatar Malte Bauch
Browse files

Update plugin mock

parent c3bb6578
Branches
No related tags found
1 merge request!544Resolve "Plugin is created and persisted in the database even if the creation of a network element failed"
This commit is part of merge request !544. Comments created here will be created in the context of that merge request.
...@@ -219,6 +219,20 @@ func (_m *Plugin) PruneConfigFalse(value []byte) ([]byte, error) { ...@@ -219,6 +219,20 @@ func (_m *Plugin) PruneConfigFalse(value []byte) ([]byte, error) {
return r0, r1 return r0, r1
} }
// Remove provides a mock function with given fields:
func (_m *Plugin) Remove() error {
ret := _m.Called()
var r0 error
if rf, ok := ret.Get(0).(func() error); ok {
r0 = rf()
} else {
r0 = ret.Error(0)
}
return r0
}
// Restart provides a mock function with given fields: // Restart provides a mock function with given fields:
func (_m *Plugin) Restart() error { func (_m *Plugin) Restart() error {
ret := _m.Called() ret := _m.Called()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment