diff --git a/internal/store/serverservice/attributes.go b/internal/store/serverservice/attributes.go index 2923c5d7..e5fb73c6 100644 --- a/internal/store/serverservice/attributes.go +++ b/internal/store/serverservice/attributes.go @@ -64,11 +64,7 @@ func (r *Store) createUpdateServerAttributes(ctx context.Context, server *server return err } - if err := r.publishUEFIVars(ctx, server.UUID, asset); err != nil { - return err - } - - return nil + return r.publishUEFIVars(ctx, server.UUID, asset) } func (r *Store) publishUEFIVars(ctx context.Context, serverID uuid.UUID, asset *model.Asset) error {