mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-06 16:25:21 -04:00
go: remove unused parameters
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
822d7823f8
commit
0036b24266
106 changed files with 320 additions and 323 deletions
|
@ -33,11 +33,11 @@ type stubCloudCreator struct {
|
|||
}
|
||||
|
||||
func (c *stubCloudCreator) Create(
|
||||
ctx context.Context,
|
||||
_ context.Context,
|
||||
provider cloudprovider.Provider,
|
||||
config *config.Config,
|
||||
insType string,
|
||||
coordCount, nodeCount int,
|
||||
_ *config.Config,
|
||||
_ string,
|
||||
_, _ int,
|
||||
) (clusterid.File, error) {
|
||||
c.createCalled = true
|
||||
c.id.CloudProvider = provider
|
||||
|
@ -65,9 +65,9 @@ type stubIAMCreator struct {
|
|||
}
|
||||
|
||||
func (c *stubIAMCreator) Create(
|
||||
ctx context.Context,
|
||||
_ context.Context,
|
||||
provider cloudprovider.Provider,
|
||||
iamConfig *cloudcmd.IAMConfig,
|
||||
_ *cloudcmd.IAMConfig,
|
||||
) (iamid.File, error) {
|
||||
c.createCalled = true
|
||||
c.id.CloudProvider = provider
|
||||
|
@ -82,12 +82,12 @@ type stubIAMDestroyer struct {
|
|||
getTfstateKeyErr error
|
||||
}
|
||||
|
||||
func (d *stubIAMDestroyer) DestroyIAMConfiguration(ctx context.Context) error {
|
||||
func (d *stubIAMDestroyer) DestroyIAMConfiguration(_ context.Context) error {
|
||||
d.destroyCalled = true
|
||||
return d.destroyErr
|
||||
}
|
||||
|
||||
func (d *stubIAMDestroyer) GetTfstateServiceAccountKey(ctx context.Context) (gcpshared.ServiceAccountKey, error) {
|
||||
func (d *stubIAMDestroyer) GetTfstateServiceAccountKey(_ context.Context) (gcpshared.ServiceAccountKey, error) {
|
||||
d.getTfstateKeyCalled = true
|
||||
return d.gcpSaKey, d.getTfstateKeyErr
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue