Skip to content

Commit

Permalink
Update integration_test/gce/gce_testing.go
Browse files Browse the repository at this point in the history
Co-authored-by: igorpeshansky <[email protected]>
  • Loading branch information
jefferbrecht and igorpeshansky authored Aug 21, 2024
1 parent 7f074ad commit f74b3c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration_test/gce/gce_testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ func getGcloudConfigDir(ctx context.Context) (string, error) {
// a trailing '/.'.
func getDirectoryWithTrailingDot(directory string) string {
// Can't just use filepath.Join(directory, "."), because it eats dot path
// segments. See https://stackoverflow.com/questions/51669486/filepath-join-removes-dot/51670536#51670536
// segments. See https://stackoverflow.com/a/51670536.
return filepath.Clean(directory) + string(filepath.Separator) + "."
}

Expand Down

0 comments on commit f74b3c2

Please sign in to comment.