Skip to content

Commit 7bee37f

Browse files
committed
Pass through config.DisableAgent in snapshot request handler
Fixes issue with on-demand snapshots on agentless servers Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
1 parent 9fedc86 commit 7bee37f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/etcd/snapshot_handler.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ func (e *ETCD) withRequest(sr *SnapshotRequest) *ETCD {
150150
Runtime: e.config.Runtime,
151151
DataDir: e.config.DataDir,
152152
Datastore: e.config.Datastore,
153+
DisableAgent: e.config.DisableAgent,
153154
EtcdSnapshotCompress: e.config.EtcdSnapshotCompress,
154155
EtcdSnapshotName: e.config.EtcdSnapshotName,
155156
EtcdSnapshotRetention: e.config.EtcdSnapshotRetention,

0 commit comments

Comments
 (0)