mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
etcdctl: add etcdctl snapshot pipe command
To improve the security of etcdctl. Added the ability to write snapshots to stdout without writing data to disk. Signed-off-by: Ais8Ooz8 <47941654+Ais8Ooz8@users.noreply.github.com>
This commit is contained in:
parent
2ddb9f40a2
commit
fb107ec806
@ -48,7 +48,7 @@ func NewSnapshotSaveCommand() *cobra.Command {
|
||||
func NewSnapshotPipeCommand() *cobra.Command {
|
||||
return &cobra.Command{
|
||||
Use: "pipe",
|
||||
Short: "Streams an etcd node backend snapshot to STDOUT",
|
||||
Short: "Streams an etcd node backend snapshot to stdout",
|
||||
Run: snapshotPipeCommandFunc,
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user