mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-03 06:44:50 -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
|
@ -236,13 +236,13 @@ type stubNodeStateGetter struct {
|
|||
deleteNodeErr error
|
||||
}
|
||||
|
||||
func (g *stubNodeStateGetter) GetNodeState(ctx context.Context, providerID string) (updatev1alpha1.CSPNodeState, error) {
|
||||
func (g *stubNodeStateGetter) GetNodeState(_ context.Context, _ string) (updatev1alpha1.CSPNodeState, error) {
|
||||
g.RLock()
|
||||
defer g.RUnlock()
|
||||
return g.nodeState, g.nodeStateErr
|
||||
}
|
||||
|
||||
func (g *stubNodeStateGetter) DeleteNode(ctx context.Context, providerID string) error {
|
||||
func (g *stubNodeStateGetter) DeleteNode(_ context.Context, _ string) error {
|
||||
g.RLock()
|
||||
defer g.RUnlock()
|
||||
return g.deleteNodeErr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue