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
Commit 5552b2d9 authored by Vasilii Iakliushin's avatar Vasilii Iakliushin
Browse files

Add comments to fix linter warnings

Contributes to https://gitlab.com/gitlab-org/gitlab-shell/-/issues/735

* Add comments to exported functions
* Add comment to the package
parent dd47a204
No related branches found
No related tags found
No related merge requests found
// Package twofactorrecover defines logic for 2FA codes recovery
package twofactorrecover
import (
Loading
Loading
@@ -16,12 +17,14 @@ import (
const readerLimit = 1024
// Command provides arguments to configure 2FA
type Command struct {
Config *config.Config
Args *commandargs.Shell
ReadWriter *readwriter.ReadWriter
}
// Execute generates new recovery codes
func (c *Command) Execute(ctx context.Context) (context.Context, error) {
ctxlog := log.ContextLogger(ctx)
ctxlog.Debug("twofactorrecover: execute: Waiting for user input")
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment