Skip to content

Commit

Permalink
Do we need this?
Browse files Browse the repository at this point in the history
  • Loading branch information
ejweber committed Jun 29, 2023
1 parent a8f9bde commit ac8d6c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion engineapi/instance_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,8 @@ func getBinaryAndArgsForReplicaProcessCreation(r *longhorn.Replica,

if engineCLIAPIVersion >= 9 {
args = append(args, "--replica-instance-name", r.Name)
args = append([]string{"--volume-name", r.Spec.VolumeName}, args...)
// We already pass the command-specific --volume-name flag above. Passing the global --volume-name flag is
// allowed, but would be redundant.
}

// 3 ports are already used by replica server, data server and syncagent server
Expand Down

0 comments on commit ac8d6c7

Please sign in to comment.