Skip to content

Commit

Permalink
addrderef -> CopyOnlyPublicFields
Browse files Browse the repository at this point in the history
  • Loading branch information
benjirewis committed Dec 11, 2024
1 parent 305174e commit 3474849
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion web/server/entrypoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,10 @@ func (s *robotServer) serveWeb(ctx context.Context, cfg *config.Config) (err err
// and immediately start web service. We need the machine to be reachable
// through the web service ASAP, even if some resources take a long time to
// initially configure.
minimalProcessedConfig := &(*fullProcessedConfig)
minimalProcessedConfig, err := fullProcessedConfig.CopyOnlyPublicFields()
if err != nil {
return err
}
minimalProcessedConfig.Components = nil
minimalProcessedConfig.Services = nil
minimalProcessedConfig.Remotes = nil
Expand Down

0 comments on commit 3474849

Please sign in to comment.