Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notary client refactor - simpler reader interface #1377

Merged
merged 1 commit into from
Aug 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions client/backwards_compatibility_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ func Test0Dot1RepoFormat(t *testing.T) {
// and we can download the snapshot
require.NoError(t, repo.RotateKey(data.CanonicalSnapshotRole, true, nil))
require.NoError(t, repo.Publish())
err = repo.Update(false)
err = repo.updateTUF(false)
require.NoError(t, err)
}

Expand Down Expand Up @@ -307,7 +307,7 @@ func Test0Dot3RepoFormat(t *testing.T) {
// and we can download the snapshot
require.NoError(t, repo.RotateKey(data.CanonicalSnapshotRole, true, nil))
require.NoError(t, repo.Publish())
err = repo.Update(false)
err = repo.updateTUF(false)
require.NoError(t, err)
}

Expand All @@ -333,7 +333,7 @@ func TestDownloading0Dot1RepoFormat(t *testing.T) {
require.NoError(t, err, "error creating repo: %s", err)
repo := r.(*repository)

err = repo.Update(true)
err = repo.updateTUF(true)
require.NoError(t, err, "error updating repo: %s", err)
}

Expand All @@ -359,6 +359,6 @@ func TestDownloading0Dot3RepoFormat(t *testing.T) {
require.NoError(t, err, "error creating repo: %s", err)
repo := r.(*repository)

err = repo.Update(true)
err = repo.updateTUF(true)
require.NoError(t, err, "error updating repo: %s", err)
}
Loading