Skip to content

Commit

Permalink
Dont fail and quit when a single (or multiple) credentials fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz authored and ekini committed Sep 17, 2021
1 parent 1ee7adf commit aec199a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions cmd/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ allowing to automatically fill those values in.
cache := cache.NewYAMLCache(viper.GetString("cache-dir"))
profileSummaries, err := lib.TraverseProfiles(viper.Get("profilesConfig").([]lib.ProfileConfig), viper.GetBool("no-profile-prefix"))
if err != nil {
log.WithError(err).Error("got some errors")
return
log.WithError(err).Warn("got some errors")
}

var sshEntries []lib.SSHEntry
Expand Down
3 changes: 1 addition & 2 deletions lib/reconf.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ import (
func Reconf(profiles []ProfileConfig, filename string, noProfilePrefix bool) {
profileSummaries, err := TraverseProfiles(profiles, noProfilePrefix)
if err != nil {
log.WithError(err).Error("got some errors")
return
log.WithError(err).Warn("got some errors")
}

var sshEntries []SSHEntry
Expand Down

0 comments on commit aec199a

Please sign in to comment.