Skip to content

Commit 3e88691

Browse files
committed
fix e2e test panic
Signed-off-by: Pankaj Walke <[email protected]>
1 parent aa77877 commit 3e88691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/e2e/shared/exec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ func commandsForMachine(ctx context.Context, e2eCtx *E2EContext, f *os.File, ins
100100
fmt.Fprintf(f, "unable to marshal session: err=%s", err)
101101
return
102102
}
103-
cmdLine := fmt.Sprintf("session-manager-plugin %s %s StartSession %s", string(sessionToken), ssmSvc.Options().Region, *ssmSvc.Options().BaseEndpoint)
103+
cmdLine := fmt.Sprintf("session-manager-plugin %s %s StartSession", string(sessionToken), ssmSvc.Options().Region)
104104
e, _, err := expect.Spawn(cmdLine, -1)
105105
if err != nil {
106106
fmt.Fprintf(f, "unable to spawn AWS SSM Session Manager plugin: %s", err)

0 commit comments

Comments
 (0)