update comments
This commit is contained in:
parent
a32bcfdb87
commit
328a84ed9f
@ -19,7 +19,7 @@ const (
|
||||
|
||||
var (
|
||||
BackupIDFV string
|
||||
BackupIDsFV []string
|
||||
BackupIDsFV []string
|
||||
AWSAccessKeyFV string
|
||||
AWSSecretAccessKeyFV string
|
||||
AWSSessionTokenFV string
|
||||
|
||||
@ -272,7 +272,9 @@ func (r *repository) Connect(ctx context.Context) (err error) {
|
||||
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) {
|
||||
ctx = clues.Add(
|
||||
ctx,
|
||||
|
||||
@ -236,7 +236,7 @@ func (suite *RepositoryIntegrationSuite) TestConnect() {
|
||||
assert.NoError(t, err, clues.ToCore(err))
|
||||
}
|
||||
|
||||
func (suite *RepositoryIntegrationSuite) TestUpdate() {
|
||||
func (suite *RepositoryIntegrationSuite) TestRepository_UpdatePassword() {
|
||||
t := suite.T()
|
||||
|
||||
ctx, flush := tester.NewContext(t)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user