Skip to content

Commit

Permalink
set-url: remove debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
waaaaargh authored and penguwin committed Mar 24, 2023
1 parent 660c886 commit f81bbf2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions repository.go
Expand Up @@ -264,7 +264,6 @@ func (r *Repository) ChangeLocation(oldLocation, newLocation string) error {
oldLocation = b.Location()

// Look for backend by sanitized URL
fmt.Println("Looking for old Backend")
var oldBackendIdx int = -1
for idx, backend := range r.backend.Backends {
if (*backend).Location() == oldLocation {
Expand All @@ -281,7 +280,6 @@ func (r *Repository) ChangeLocation(oldLocation, newLocation string) error {
}

// Remove old backend
fmt.Println("Creating new backend")
r.backend.Backends = append(r.backend.Backends[:oldBackendIdx], r.backend.Backends[oldBackendIdx+1:]...)

// Create Backend with new URL
Expand Down

0 comments on commit f81bbf2

Please sign in to comment.