Commit d6378e59 authored by Brian Downs's avatar Brian Downs

add addtional log entry

parent 77caab3c
...@@ -865,6 +865,7 @@ func (e *ETCD) Snapshot(ctx context.Context, config *config.Control) error { ...@@ -865,6 +865,7 @@ func (e *ETCD) Snapshot(ctx context.Context, config *config.Control) error {
return err return err
} }
logrus.Infof("Saving current etcd snapshot set to %s ConfigMap", snapshotConfigMapName)
return e.storeSnapshotData(ctx, snapshots) return e.storeSnapshotData(ctx, snapshots)
} }
...@@ -902,7 +903,7 @@ func (e *ETCD) listSnapshots(ctx context.Context, snapshotDir string) ([]snapsho ...@@ -902,7 +903,7 @@ func (e *ETCD) listSnapshots(ctx context.Context, snapshotDir string) ([]snapsho
} }
snapshots = append(snapshots, snapshotFile{ snapshots = append(snapshots, snapshotFile{
Name: obj.Key, Name: obj.Key,
Location: "s3://" + e.config.EtcdS3BucketName + "/" + obj.Key, Location: "s3://" + filepath.Join(e.config.EtcdS3BucketName, obj.Key),
CreatedAt: &metav1.Time{ CreatedAt: &metav1.Time{
Time: ca, Time: ca,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment