Skip to content

Commit

Permalink
Use default credentials for remote storages (#3147)
Browse files Browse the repository at this point in the history
Co-authored-by: Simon Dumas <[email protected]>
  • Loading branch information
imsdu and Simon Dumas authored Mar 11, 2022
1 parent faa18b9 commit 81a1e21
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,13 @@ final class RemoteStorageMigrationImpl private (
case sc: StorageCreated =>
sc.value match {
case rd: RemoteDiskStorageValue =>
Some(sc.copy(value = rd.copy(endpoint = newBaseUri)))
Some(sc.copy(value = rd.copy(endpoint = newBaseUri, credentials = None)))
case _ => None
}
case su: StorageUpdated =>
su.value match {
case rd: RemoteDiskStorageValue =>
Some(su.copy(value = rd.copy(endpoint = newBaseUri)))
Some(su.copy(value = rd.copy(endpoint = newBaseUri, credentials = None)))
case _ => None
}
case _ => None
Expand Down

0 comments on commit 81a1e21

Please sign in to comment.