Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hashicorp/terraform
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9c43866127f1739f782a6b2e3b65cf5b78c777f7
Choose a base ref
..
head repository: hashicorp/terraform
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 011841124bc61c93428b252b28ae831158be9aef
Choose a head ref
Showing with 3 additions and 3 deletions.
  1. +3 −3 backend/remote-state/gcs/client.go
6 changes: 3 additions & 3 deletions backend/remote-state/gcs/client.go
Original file line number Diff line number Diff line change
@@ -153,11 +153,11 @@ func (c *remoteClient) lockInfo() (*state.LockInfo, error) {
}

func (c *remoteClient) stateFile() *storage.ObjectHandle {
b := c.storageClient.Bucket(c.bucketName).Object(c.stateFilePath)
h := c.storageClient.Bucket(c.bucketName).Object(c.stateFilePath)
if len(c.encryptionKey) > 0 {
return b.Key(c.encryptionKey)
return h.Key(c.encryptionKey)
}
return b
return h
}

func (c *remoteClient) stateFileURL() string {