Skip to content

Commit 161d587

Browse files
committed
Remove useless observable source implementation.
1 parent eda3cda commit 161d587

File tree

2 files changed

+1
-25
lines changed

2 files changed

+1
-25
lines changed

graphkb/importer.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ func Start(source sources.Source, options ImporterOptions) error {
2222
return fmt.Errorf("Please provide a graphkb auth token to communicate with GraphKB")
2323
}
2424

25-
observableSource := sources.NewObservableSource(source)
2625
api := knowledge.NewGraphAPI(options.URL, options.AuthToken, options.SkipVerify)
2726
graphImporter := knowledge.NewGraphImporter(api)
2827

29-
if err := observableSource.Start(graphImporter); err != nil {
28+
if err := source.Start(graphImporter); err != nil {
3029
return fmt.Errorf("Unable to start importer: %v", err)
3130
}
3231

internal/sources/observable_source.go

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)