diff --git a/attribute/attribute.go b/attribute/attribute.go index 36e3ee4..afbe9d2 100644 --- a/attribute/attribute.go +++ b/attribute/attribute.go @@ -49,6 +49,7 @@ func Add(Key, Name, Description, Default string, NeedRestart bool) error { Description: Description, Default: Default, Value: Default, + NeedRestart: NeedRestart, } err := store.DB.Create(a).Error