Remove dead code (#373)

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2022-10-26 10:29:28 +02:00 committed by GitHub
parent 4cbec82edf
commit c05b22f1dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 3 additions and 12 deletions

View file

@ -33,7 +33,7 @@ func NewTerminator() *Terminator {
}
}
// Terminate deletes the could provider resources defined in the constellation state.
// Terminate deletes the could provider resources.
func (t *Terminator) Terminate(ctx context.Context, provider cloudprovider.Provider) (retErr error) {
if provider == cloudprovider.Unknown {
return errors.New("unknown cloud provider")