update comments
This commit is contained in:
parent
a32bcfdb87
commit
328a84ed9f
@ -272,7 +272,9 @@ func (r *repository) Connect(ctx context.Context) (err error) {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// UpdatePassword updates Kopia password
|
// UpdatePassword will-
|
||||||
|
// - connect to the provider storage using existing password
|
||||||
|
// - update the repo with new password
|
||||||
func (r *repository) UpdatePassword(ctx context.Context, password string) (err error) {
|
func (r *repository) UpdatePassword(ctx context.Context, password string) (err error) {
|
||||||
ctx = clues.Add(
|
ctx = clues.Add(
|
||||||
ctx,
|
ctx,
|
||||||
|
|||||||
@ -236,7 +236,7 @@ func (suite *RepositoryIntegrationSuite) TestConnect() {
|
|||||||
assert.NoError(t, err, clues.ToCore(err))
|
assert.NoError(t, err, clues.ToCore(err))
|
||||||
}
|
}
|
||||||
|
|
||||||
func (suite *RepositoryIntegrationSuite) TestUpdate() {
|
func (suite *RepositoryIntegrationSuite) TestRepository_UpdatePassword() {
|
||||||
t := suite.T()
|
t := suite.T()
|
||||||
|
|
||||||
ctx, flush := tester.NewContext(t)
|
ctx, flush := tester.NewContext(t)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user