-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C2DEVEL-14695: return support of the backup service #34
base: C2DEVEL-13798
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Сделай пожалуйста коммитные сообщения чуть более подробными)
aws/corehandlers/handlers.go
Outdated
if r.ClientInfo.SigningRegion == "" && aws.StringValue(r.Config.Region) == "" { | ||
r.Error = aws.ErrMissingRegion | ||
} else if r.ClientInfo.Endpoint == "" { | ||
// if r.ClientInfo.SigningRegion == "" && aws.StringValue(r.Config.Region) == "" { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Не очень понятно зачем этот кусок кода закомментирован, а в истории коммитов и в задаче нет информаци про это изменение. Вынеси его в отдельный коммит пожалуйста и где-нибудь опиши
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
В отдельный коммит вынес. Изначально убирал здесь проверку для возможности проставления пустого региона в конфиге провайдера. В целом, если будем работать с пустыми регионами только на уровне arn в теле запроса, можно будет откатить эти изменения.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Пустой регион использовать не получается, тк есть датасорсы, которые используют значение региона как id, так что эту валидацию я бы все таки сохранила.
58f69fa
to
875864a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Оставила коммент + замечание про валидацию для региона еще осталось)
Переоформи еще пожалуйста немного описание ПРа. Мы забираем его прямо в changelog обычно, в качестве примера оформления можешь использовать #28
@@ -1230,7 +1240,8 @@ | |||
"type":"structure", | |||
"required":[ | |||
"SelectionName", | |||
"IamRoleArn" | |||
"IamRoleArn", | |||
"ResourceArns" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Кажется тут должно быть Resources
Based on #33
Changes: