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

Contradictory error message: Seconds is 0 but allowed floor is 0 #16

Open
RobertAtomic opened this issue Feb 3, 2018 · 2 comments
Open

Comments

@RobertAtomic
Copy link

This is a seemingly contradictory error:
Seconds is 0 but allowed floor is 0

This statemachine does not pass lint, but it is accepted and runnable by the Step Functions product:

{
  "StartAt": "ZeroWait",
  "States": {
    "ZeroWait": {
      "Type":"Wait",
      "Seconds": 0,
      "Next":"Finish"
    },
    "Finish": {
      "Type": "Succeed"
    }
  }
}
@timbray
Copy link
Contributor

timbray commented Apr 27, 2018

Looks like a bug to me. Just bit me in one of my own machines :(

@slootjes
Copy link

What would be the purpose of a 0 second wait? Not saying you do something wrong but I'm curious about the use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants