linter fixes
This commit is contained in:
parent
e643bb5b31
commit
e86b163ba5
|
@ -185,7 +185,6 @@ cscli api credentials # Display your API credentials
|
|||
}
|
||||
fmt.Printf("machine_id: %s\n", outputCTX.API.Creds.User)
|
||||
fmt.Printf("password: %s\n", outputCTX.API.Creds.Password)
|
||||
return
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -202,7 +201,6 @@ cscli api credentials # Display your API credentials
|
|||
if err := outputCTX.API.Enroll(userID); err != nil {
|
||||
log.Fatalf(err.Error())
|
||||
}
|
||||
return
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -223,7 +221,6 @@ cscli api credentials # Display your API credentials
|
|||
}
|
||||
fmt.Printf("machine_id: %s\n", outputCTX.API.Creds.User)
|
||||
fmt.Printf("password: %s\n", outputCTX.API.Creds.Password)
|
||||
return
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -241,7 +238,6 @@ cscli api credentials # Display your API credentials
|
|||
if err != nil {
|
||||
log.Fatalf(err.Error())
|
||||
}
|
||||
return
|
||||
},
|
||||
}
|
||||
|
||||
|
@ -255,7 +251,6 @@ cscli api credentials # Display your API credentials
|
|||
if err := dumpCredentials(); err != nil {
|
||||
log.Fatalf(err.Error())
|
||||
}
|
||||
return
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
@ -190,7 +190,6 @@ func AcquisStartReading(ctx *FileAcquisCtx, output chan types.Event, AcquisTomb
|
|||
}
|
||||
}
|
||||
log.Printf("Started %d routines for polling/read", len(ctx.Files))
|
||||
return
|
||||
}
|
||||
|
||||
/*A tail-mode file reader (tail) */
|
||||
|
|
|
@ -66,7 +66,7 @@ func (p *pluginDB) ReadAT(timeAT time.Time) ([]map[string]string, error) {
|
|||
return ret, nil
|
||||
}
|
||||
|
||||
//nolint:unused // New is used by the plugin system
|
||||
//nolint:deadcode,unused // New is used by the plugin system
|
||||
func New() interface{} {
|
||||
return &pluginDB{}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue