Skip to content

Commit

Permalink
ignore UUID when update setting
Browse files Browse the repository at this point in the history
  • Loading branch information
davies committed Jan 18, 2021
1 parent 0606765 commit 8a474e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/meta/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ func (r *redisMeta) Init(format Format, force bool) error {
logger.Warnf("Existing volume will be overwrited: %+v", old)
} else {
// only AccessKey and SecretKey can be safely updated.
format.UUID = old.UUID
old.AccessKey = format.AccessKey
old.SecretKey = format.SecretKey
if format != old {
Expand Down

0 comments on commit 8a474e5

Please sign in to comment.