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

Web pods always is set to 1 in UI #48

Closed
james-martinez opened this issue Dec 19, 2022 · 4 comments · Fixed by #58
Closed

Web pods always is set to 1 in UI #48

james-martinez opened this issue Dec 19, 2022 · 4 comments · Fixed by #58
Assignees
Labels
bug Something isn't working
Milestone

Comments

@james-martinez
Copy link
Contributor

james-martinez commented Dec 19, 2022

When setting up an app in the UI, I turn web pods to 0 and worker pods to 1 but web pods still return 1 when the app generates the Kuberoapp .
Screenshot 2022-12-19 at 9 35 03 AM
Screenshot 2022-12-19 at 9 41 10 AM

@mms-gianni
Copy link
Member

I will try to reproduce that.

@mms-gianni
Copy link
Member

Wow. That's strange. Got the same effect all the time.

@mms-gianni mms-gianni self-assigned this Dec 20, 2022
@mms-gianni mms-gianni added the bug Something isn't working label Dec 20, 2022
@mms-gianni
Copy link
Member

And here is the bug :
https://github.com/kubero-dev/kubero/blob/main/client/src/components/apps/new.vue#L799

0 is handled as false and transformed to 1

I will fix this in v1.4.2

@mms-gianni mms-gianni added this to the v1.4.2 milestone Dec 20, 2022
@james-martinez
Copy link
Contributor Author

#58

@mms-gianni mms-gianni linked a pull request Dec 21, 2022 that will close this issue
mms-gianni added a commit that referenced this issue Dec 22, 2022
fix Web pods always is set to 1 in UI #48
james-martinez added a commit to james-martinez/kubero that referenced this issue Dec 22, 2022
mms-gianni added a commit that referenced this issue Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants