As we reevaluate how to best support and maintain Staging Ref in the future, we encourage development teams using this environment to highlight their use cases in the following issue: https://gitlab.com/gitlab-com/gl-infra/software-delivery/framework/software-delivery-framework-issue-tracker/-/issues/36.

Skip to content
Snippets Groups Projects

Passing pushauth flag as bool in json body to internal api doesn't become a...

Open Manoj Memana Jayakumar requested to merge mmj/gitlab-shell:506-jsandlin into main
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -59,7 +59,7 @@ func (c *Command) Execute(ctx context.Context) error {
select {
case res := <-verify: // manual OTP
fmt.Fprint(c.ReadWriter.Out, res.Status)
case res := <-pushauth: // push
case res := <-pushauth: // push
fmt.Fprint(c.ReadWriter.Out, res.Status)
case <-timeoutCtx.Done(): // push timed out
fmt.Fprint(c.ReadWriter.Out, "OTP verification timed out")
Loading