Skip to content

Commit

Permalink
Merge pull request #1278 from mjsoyeon/release-1.7
Browse files Browse the repository at this point in the history
Cherry-pick for new release v1.7.6
  • Loading branch information
k8s-ci-robot committed Feb 28, 2024
2 parents a839aa2 + e46af3f commit 7d87370
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/driver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (d *Driver) CreateVolume(ctx context.Context, req *csi.CreateVolumeRequest)
if err != nil {
return nil, status.Errorf(codes.InvalidArgument, "Failed to parse invalid %v: %v", Gid, err)
}
if uid < 0 {
if gid < 0 {
return nil, status.Errorf(codes.InvalidArgument, "%v must be greater or equal than 0", Gid)
}
}
Expand Down
2 changes: 2 additions & 0 deletions pkg/driver/efs_watch_dog.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ stunnel_health_check_enabled = true
stunnel_health_check_interval_min = 5
stunnel_health_check_command_timeout_sec = 30
enable_version_check = false
[client-info]
source={{.EfsClientSource}}
Expand Down
2 changes: 2 additions & 0 deletions pkg/driver/efs_watch_dog_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ stunnel_health_check_enabled = true
stunnel_health_check_interval_min = 5
stunnel_health_check_command_timeout_sec = 30
enable_version_check = false
[client-info]
source=k8s
Expand Down

0 comments on commit 7d87370

Please sign in to comment.