Skip to content

Commit

Permalink
Hack to prevent the program from exiting
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud Tincelin committed Jun 9, 2021
1 parent c40b0c6 commit c2051fa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/aks-periscope/aks-periscope.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,11 @@ func zipAndExport(exporter interfaces.Exporter) error {
return err
}

// TODO: Hack: for now AKS-Periscope is running as a deamonset so it shall not stop (or the pod will be restarted)
// Revert from https://github.com/Azure/aks-periscope/blob/b98d66a238e942158ef2628a9315b58937ff9c8f/cmd/aks-periscope/aks-periscope.go#L70
select {}

// TODO: remove this //nolint comment once the select{} has been removed
//nolint:govet
return nil
}

0 comments on commit c2051fa

Please sign in to comment.