diff --git a/engineapi/proxy_replica.go b/engineapi/proxy_replica.go index 5664d9a197..b5a53bae40 100644 --- a/engineapi/proxy_replica.go +++ b/engineapi/proxy_replica.go @@ -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) { diff --git a/scripts/package b/scripts/package index 8c118452fd..1ebd3392a3 100755 --- a/scripts/package +++ b/scripts/package @@ -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/