Skip to content

Commit 5adbc6c

Browse files
authored
Revert fix: remove statement that always errored"
This reverts commit db05766. From Kong#659
1 parent afb2f0c commit 5adbc6c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cli/ingress-controller/flags.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,9 @@ func parseFlags() (cliConfig, error) {
226226
flagSet := flagSet()
227227

228228
// glog
229+
// The error is being ignored here for unit testing,
230+
// this always errors out in unit tests but succeeds in e2e runs.
231+
_ = flag.Set("logtostderr", "true")
229232

230233
flagSet.AddGoFlagSet(flag.CommandLine)
231234
if err := flagSet.Parse(os.Args); err != nil {

0 commit comments

Comments
 (0)