From 327c5adef24bc0a1486aeeffeb5a312045d3a8c7 Mon Sep 17 00:00:00 2001 From: cellarspoon Date: Wed, 22 Dec 2021 13:55:22 +0100 Subject: [PATCH] refactor: less quotes --- cli/server/add.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/server/add.go b/cli/server/add.go index c0081941..73f94e92 100644 --- a/cli/server/add.go +++ b/cli/server/add.go @@ -246,12 +246,12 @@ func installDocker(c *cli.Context, cl *dockerClient.Client, sshCl *ssh.Client, d if err := survey.AskOne(prompt, &sudoPass); err != nil { return err } - logrus.Debugf("running '%s' on %s now with sudo password", cmd, domainName) + logrus.Debugf("running %s on %s now with sudo password", cmd, domainName) if err := ssh.RunSudoCmd(cmd, sudoPass, sshCl); err != nil { return err } } else { - logrus.Debugf("running '%s' on %s now without sudo password", cmd, domainName) + logrus.Debugf("running %s on %s now without sudo password", cmd, domainName) if err := ssh.Exec(cmd, sshCl); err != nil { return err } @@ -428,12 +428,12 @@ You may omit flags to avoid performing this provisioning logic. ArgsUsage: " [] []", Action: func(c *cli.Context) error { if c.Args().Len() > 0 && local || !internal.ValidateSubCmdFlags(c) { - err := errors.New("cannot use '' and '--local' together") + err := errors.New("cannot use and --local together") internal.ShowSubcommandHelpAndError(c, err) } if sshAuth != "password" && sshAuth != "identity-file" { - err := errors.New("--ssh-auth only accepts 'identity-file' or 'password'") + err := errors.New("--ssh-auth only accepts identity-file or password") internal.ShowSubcommandHelpAndError(c, err) }