Skip to content

Commit

Permalink
fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
BinaryFissionGames committed Aug 6, 2024
1 parent fc777fc commit 13e6e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/opampsupervisor/supervisor/supervisor.go
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ func (s *Supervisor) loadAndWriteInitialMergedConfig() error {

// write the initial merged config to disk
cfg := s.mergedConfig.Load().(string)
if err := os.WriteFile(agentConfigFilePath, []byte(cfg), 0600); err != nil {
if err := os.WriteFile(s.agentConfigFilePath(), []byte(cfg), 0600); err != nil {
s.logger.Error("Failed to write agent config.", zap.Error(err))
}

Expand Down

0 comments on commit 13e6e80

Please sign in to comment.