Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[hotfix-2.2] Fix help command not working when session id envs not set #220

Merged
merged 3 commits into from
Feb 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix env variable in test
(cherry picked from commit c5d8996)
  • Loading branch information
petersutter committed Feb 13, 2023
commit 13905378101aae561c00ef28bdf0582fb81d4ed2
2 changes: 1 addition & 1 deletion pkg/cmd/cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ var _ = Describe("Gardenctl command", func() {

BeforeEach(func() {
sessionID = os.Getenv("GCTL_SESSION_ID")
termSessionID = os.Getenv("GCTL_SESSION_ID")
termSessionID = os.Getenv("TERM_SESSION_ID")

Expect(os.Unsetenv("GCTL_SESSION_ID")).To(Succeed())
Expect(os.Unsetenv("TERM_SESSION_ID")).To(Succeed())
Expand Down