Skip to content

Commit

Permalink
remove updater as a dependency (#41)
Browse files Browse the repository at this point in the history
The upstream package was refactored and doesn't exist anymore.
The functionality is actually being implemented in #34 so the correct
dependencies will be added there.

Because the updater package is missing, the dependency manager is corrupting the
dependency cache for various pull requests.

Closes #39
  • Loading branch information
groob committed Jul 6, 2017
1 parent a94e695 commit 4e5d289
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
14 changes: 1 addition & 13 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 0 additions & 15 deletions cmd/launcher/launcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"github.com/kolide/launcher/osquery"
"github.com/kolide/osquery-go/plugin/config"
"github.com/kolide/osquery-go/plugin/logger"
"github.com/kolide/updater"
)

var (
Expand Down Expand Up @@ -132,20 +131,6 @@ func main() {
versionInfo := version.Version()
log.Printf("Started kolide launcher, version %s, build %s\n", versionInfo.Version, versionInfo.Revision)

if opts.notaryServerUrl != "" {
osqueryUpdater, err := updater.Start(updater.Settings{}, updateOsquery)
if err != nil {
log.Fatalf("Error launching osqueryd updater service %s\n", err)
}
defer osqueryUpdater.Stop()

launcherUpdater, err := updater.Start(updater.Settings{}, updateLauncher)
if err != nil {
log.Fatalf("Error launching osqueryd updater service %s\n", err)
}
defer launcherUpdater.Stop()
}

if _, err := osquery.LaunchOsqueryInstance(
osquery.WithOsquerydBinary(opts.osquerydPath),
osquery.WithRootDirectory(opts.rootDirectory),
Expand Down

0 comments on commit 4e5d289

Please sign in to comment.