Minor changes and fixes

This commit is contained in:
David J. Allen 2023-10-11 15:00:13 -06:00
parent 174e2084fc
commit b76d5e61ff
3 changed files with 17 additions and 17 deletions

View file

@ -26,7 +26,7 @@ func CreateProbeResultsIfNotExists(path string) (*sqlx.DB, error) {
return db, nil
}
func InsertProbeResults(path string, states *[]magellan.BMCProbeResult) error {
func InsertProbeResults(path string, states *[]magellan.ScannedResult) error {
if states == nil {
return fmt.Errorf("states == nil")
}
@ -54,7 +54,7 @@ func InsertProbeResults(path string, states *[]magellan.BMCProbeResult) error {
return nil
}
func DeleteProbeResults(path string, results *[]magellan.BMCProbeResult) error {
func DeleteProbeResults(path string, results *[]magellan.ScannedResult) error {
if results == nil {
return fmt.Errorf("no probe results found")
}