Skip to content

Commit

Permalink
Merge pull request #138 from Banh-Canh/feat/follow-symlinks
Browse files Browse the repository at this point in the history
fix πŸ›(kubeconfig filesystem store): kubeswitch follows symlinks
  • Loading branch information
danielfoehrKn authored Oct 12, 2024
2 parents 1fd9598 + 31744e1 commit a6981cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/store/kubeconfig_store_file.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,8 @@ func (s *FilesystemStore) searchDirectory(
}
return nil
},
Unsorted: false, // (optional) set true for faster yet non-deterministic enumeration
Unsorted: false, // (optional) set true for faster yet non-deterministic enumeration
FollowSymbolicLinks: true,
}); err != nil {
channel <- SearchResult{
KubeconfigPath: "",
Expand Down

0 comments on commit a6981cf

Please sign in to comment.