Skip to content

Commit 96083cf

Browse files
author
Julio Arenere
committed
DEL old code
1 parent f79fb14 commit 96083cf

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

replication.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -172,15 +172,7 @@ func compactReplication(server, user, password, api string, logs []AuditLog) map
172172

173173
func replication(server, user, password, api string, startAt, finishAt time.Time, policyId int) {
174174
rp := getReplicationPolicy(server, user, password, api, policyId)
175-
fmt.Println(rp)
176175
logs := listAuditLogs(server, user, password, api, startAt, finishAt)
177-
// for _, log := range logs {
178-
// fmt.Println(log)
179-
// updateReplication(server, user, password, api, log.Resource, policyId, rp)
180-
// startReplication(server, user, password, api, policyId)
181-
// waitFinishReplication(server, user, password, api, log.Resource, policyId)
182-
// // maybe we can remove the repeated ones
183-
// }
184176
c := compactReplication(server, user, password, api, logs)
185177
l := len(c)
186178
i := 0

0 commit comments

Comments
 (0)