Skip to content

Commit

Permalink
Revert "Add Tests for updated Interface based kando command line" (#2253
Browse files Browse the repository at this point in the history
)

* reverts PR #2168

* reverts #2166
  • Loading branch information
kale-amruta committed Aug 10, 2023
1 parent ae09b1f commit 81766ec
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 648 deletions.
26 changes: 0 additions & 26 deletions pkg/datamover/datamover_test.go

This file was deleted.

3 changes: 1 addition & 2 deletions pkg/datamover/profile.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,7 @@ func (p *profile) Push(ctx context.Context, sourcePath, destinationPath string)
if err := p.connectToKopiaRepositoryServer(ctx); err != nil {
return err
}
_, err := kopiaLocationPush(ctx, destinationPath, p.outputName, sourcePath, p.profile.Credential.KopiaServerSecret.Password)
return err
return kopiaLocationPush(ctx, destinationPath, p.outputName, sourcePath, p.profile.Credential.KopiaServerSecret.Password)
}
source, err := sourceReader(sourcePath)
if err != nil {
Expand Down
80 changes: 0 additions & 80 deletions pkg/datamover/profile_test.go

This file was deleted.

3 changes: 1 addition & 2 deletions pkg/datamover/repository_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ func (rs *repositoryServer) Push(ctx context.Context, sourcePath, destinationPat
if err != nil {
return err
}
_, err = kopiaLocationPush(ctx, destinationPath, rs.outputName, sourcePath, password)
return err
return kopiaLocationPush(ctx, destinationPath, rs.outputName, sourcePath, password)
}

func (rs *repositoryServer) Delete(ctx context.Context, destinationPath string) error {
Expand Down
219 changes: 0 additions & 219 deletions pkg/datamover/repository_server_test.go

This file was deleted.

Loading

0 comments on commit 81766ec

Please sign in to comment.