mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-12-15 16:09:39 -05:00
Add provider to license check (#88)
This commit is contained in:
parent
765c097beb
commit
fb5faa681c
4 changed files with 25 additions and 8 deletions
|
|
@ -11,6 +11,8 @@ package license
|
|||
import (
|
||||
"context"
|
||||
|
||||
"github.com/edgelesssys/constellation/internal/cloud/cloudprovider"
|
||||
"github.com/edgelesssys/constellation/internal/config"
|
||||
"github.com/edgelesssys/constellation/internal/file"
|
||||
)
|
||||
|
||||
|
|
@ -21,6 +23,6 @@ func NewChecker(quotaChecker QuotaChecker, fileHandler file.Handler) *Checker {
|
|||
}
|
||||
|
||||
// CheckLicense is a no-op for open source version of Constellation.
|
||||
func (c *Checker) CheckLicense(ctx context.Context, printer func(string, ...any)) error {
|
||||
func (c *Checker) CheckLicense(ctx context.Context, provider cloudprovider.Provider, providerCfg config.ProviderConfig, printer func(string, ...any)) error {
|
||||
return nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue