We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a6e19e commit 32acb09Copy full SHA for 32acb09
dev/preview/previewctl/cmd/stale.go
@@ -33,7 +33,10 @@ func newListStaleCmd(logger *logrus.Logger) *cobra.Command {
33
Short: "Get preview envs that are inactive (no branch with recent commits, and no db activity in the last 48h)",
34
RunE: func(cmd *cobra.Command, args []string) error {
35
if _, err := os.Stat(opts.sshPrivateKeyPath); errors.Is(err, fs.ErrNotExist) {
36
- return preview.InstallVMSSHKeys()
+ opts.logger.Debug("Installing SSH keys")
37
+ if err := preview.InstallVMSSHKeys(); err != nil {
38
+ return err
39
+ }
40
}
41
42
statuses, err := opts.listWorskpaceStatus(ctx)
0 commit comments