mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-06 16:06:51 +00:00
Remove now-unused instanceId parameter from newAwsCloud
This commit is contained in:
@@ -143,8 +143,7 @@ func TestNewAWSCloud(t *testing.T) {
|
||||
|
||||
for _, test := range tests {
|
||||
t.Logf("Running test case %s", test.name)
|
||||
selfInstanceId := "self-instance"
|
||||
c, err := newAWSCloud(test.reader, test.authFunc, selfInstanceId, test.metadata)
|
||||
c, err := newAWSCloud(test.reader, test.authFunc, test.metadata)
|
||||
if test.expectError {
|
||||
if err == nil {
|
||||
t.Errorf("Should error for case %s", test.name)
|
||||
|
||||
Reference in New Issue
Block a user