Skip to content

Commit

Permalink
Merge pull request #99 from kubescape/not-supported-cloud
Browse files Browse the repository at this point in the history
Rurn NotSupportedMsg error if not supported cloud
  • Loading branch information
David Wertenteil authored May 26, 2024
2 parents ee0eed4 + cb80192 commit 8461b4e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cloudsupport/cloudproviderconfiguration.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ func GetDescriptiveInfoFromCloudProvider(cluster string, cloudProvider string) (
if err != nil {
return nil, err
}
default:
return nil, fmt.Errorf(cloudsupportv1.NotSupportedMsg)
}

return clusterInfo, nil
Expand Down

0 comments on commit 8461b4e

Please sign in to comment.