mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-05 13:34: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,14 +33,14 @@ type stubProviderMetadata struct {
|
|||
uidResp string
|
||||
}
|
||||
|
||||
func (m *stubProviderMetadata) GetLoadBalancerEndpoint(ctx context.Context) (string, error) {
|
||||
func (m *stubProviderMetadata) GetLoadBalancerEndpoint(_ context.Context) (string, error) {
|
||||
return m.getLoadBalancerEndpointResp, m.getLoadBalancerEndpointErr
|
||||
}
|
||||
|
||||
func (m *stubProviderMetadata) Self(ctx context.Context) (metadata.InstanceMetadata, error) {
|
||||
func (m *stubProviderMetadata) Self(_ context.Context) (metadata.InstanceMetadata, error) {
|
||||
return m.selfResp, m.selfErr
|
||||
}
|
||||
|
||||
func (m *stubProviderMetadata) UID(ctx context.Context) (string, error) {
|
||||
func (m *stubProviderMetadata) UID(_ context.Context) (string, error) {
|
||||
return m.uidResp, m.uidErr
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue