summaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/pkg/config/util.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/internal/pkg/config/util.go b/internal/pkg/config/util.go
index 00ddb2ba..966fcf15 100644
--- a/internal/pkg/config/util.go
+++ b/internal/pkg/config/util.go
@@ -384,6 +384,13 @@ func newMpGracefulRestartFromConfigStruct(c *MpGracefulRestart) *api.MpGracefulR
Config: &api.MpGracefulRestartConfig{
Enabled: c.Config.Enabled,
},
+ State: &api.MpGracefulRestartState{
+ Enabled: c.State.Enabled,
+ Received: c.State.Received,
+ Advertised: c.State.Advertised,
+ EndOfRibReceived: c.State.EndOfRibReceived,
+ EndOfRibSent: c.State.EndOfRibSent,
+ },
}
}