mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Fix make check errors
This commit is contained in:
@@ -264,10 +264,10 @@ func (c *Device) startRepl() error {
|
||||
for {
|
||||
in, err := c.Ui.Ask("> ")
|
||||
if err != nil {
|
||||
if fingerprintCancel != nil {
|
||||
if fingerprintCancel != nil {
|
||||
fingerprintCancel()
|
||||
}
|
||||
if statsCancel != nil {
|
||||
if statsCancel != nil {
|
||||
statsCancel()
|
||||
}
|
||||
return err
|
||||
@@ -275,10 +275,10 @@ func (c *Device) startRepl() error {
|
||||
|
||||
switch {
|
||||
case in == "exit()":
|
||||
if fingerprintCancel != nil {
|
||||
if fingerprintCancel != nil {
|
||||
fingerprintCancel()
|
||||
}
|
||||
if statsCancel != nil {
|
||||
if statsCancel != nil {
|
||||
statsCancel()
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user