Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Su <derek.su@suse.com>
  • Loading branch information
derekbit committed Jul 4, 2024
1 parent 5b2890b commit 76320af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion engineapi/proxy_replica.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
func (p *Proxy) ReplicaAdd(e *longhorn.Engine, replicaName, replicaAddress string, restore, fastSync bool, replicaFileSyncHTTPClientTimeout, grpcTimeoutSeconds int64) (err error) {
return p.grpcClient.ReplicaAdd(string(e.Spec.DataEngine), e.Name, e.Spec.VolumeName, p.DirectToURL(e),
replicaName, replicaAddress, restore, e.Spec.VolumeSize, e.Status.CurrentSize,
int(replicaFileSyncHTTPClientTimeout), fastSync, grpcTimeoutSeconds)
int(replicaFileSyncHTTPClientTimeout), fastSync, nil, grpcTimeoutSeconds)
}

func (p *Proxy) ReplicaRemove(e *longhorn.Engine, address string) (err error) {
Expand Down
2 changes: 1 addition & 1 deletion scripts/package
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ REPO=${REPO:-longhornio}
IMAGE=${IMAGE:-${REPO}/longhorn-manager:${TAG}}

if [ ! -e ./bin/longhorn-manager ]; then
./scripts/build
./scripts/build
fi

cp -r bin package/
Expand Down

0 comments on commit 76320af

Please sign in to comment.