Skip to content

Commit

Permalink
Merge pull request #1160 from euank/simpler-pass
Browse files Browse the repository at this point in the history
config/credentials: don't run 'pass' to detect it
  • Loading branch information
Vincent Demeester committed Jul 2, 2018
2 parents 34ba66b + 056015c commit 9e36ff4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 210 deletions.
5 changes: 2 additions & 3 deletions cli/config/credentials/default_store_linux.go
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package credentials

import (
"github.com/docker/docker-credential-helpers/pass"
"os/exec"
)

func defaultCredentialsStore() string {
passStore := pass.Pass{}
if passStore.CheckInitialized() {
if _, err := exec.LookPath("pass"); err == nil {
return "pass"
}

Expand Down
207 changes: 0 additions & 207 deletions vendor/github.com/docker/docker-credential-helpers/pass/pass_linux.go

This file was deleted.

0 comments on commit 9e36ff4

Please sign in to comment.