Skip to content
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

Add some more goldenfile tests #614

Merged
merged 9 commits into from
Oct 31, 2023
5 changes: 3 additions & 2 deletions aws/fake/cf.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,9 @@ func MockCSOutput(stackId string) *cloudformation.CreateStackOutput {
}

func (m *CFClient) UpdateStack(params *cloudformation.UpdateStackInput) (*cloudformation.UpdateStackOutput, error) {
// TODO: Update stack needs another logic to register state update, so createStack and updateStack don't
// mess with each other states.
// TODO: https://github.com/zalando-incubator/kube-ingress-aws-controller/issues/653
// Update stack needs to use different variable to register change history,
// so createStack and updateStack mocks don't mess with each other states.
lucastt marked this conversation as resolved.
Show resolved Hide resolved

out, ok := m.Outputs.UpdateStack.response.(*cloudformation.UpdateStackOutput)
if !ok {
Expand Down
Loading