mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-03 14:54:53 -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
|
@ -22,13 +22,13 @@ func newFakeScalingGroupUpdater() *fakeScalingGroupUpdater {
|
|||
}
|
||||
}
|
||||
|
||||
func (u *fakeScalingGroupUpdater) GetScalingGroupImage(ctx context.Context, scalingGroupID string) (string, error) {
|
||||
func (u *fakeScalingGroupUpdater) GetScalingGroupImage(_ context.Context, scalingGroupID string) (string, error) {
|
||||
u.RLock()
|
||||
defer u.RUnlock()
|
||||
return u.scalingGroupImage[scalingGroupID], nil
|
||||
}
|
||||
|
||||
func (u *fakeScalingGroupUpdater) SetScalingGroupImage(ctx context.Context, scalingGroupID, imageURI string) error {
|
||||
func (u *fakeScalingGroupUpdater) SetScalingGroupImage(_ context.Context, scalingGroupID, imageURI string) error {
|
||||
u.Lock()
|
||||
defer u.Unlock()
|
||||
u.scalingGroupImage[scalingGroupID] = imageURI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue