update remote state s3 file to fix error

This commit is contained in:
Clint Shryock 2015-05-20 15:20:30 -05:00
parent 0d575b75c8
commit 883e2848c6
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ func (c *S3Client) Get() (*Payload, error) {
})
if err != nil {
if awserr := awserr.Error(err); awserr != nil {
if awserr := err.(awserr.Error); awserr != nil {
if awserr.Code() == "NoSuchKey" {
return nil, nil
} else {