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

CLOUDP-69475: Replace our manual dot spinner with briandowns/spinner #380

Merged
merged 1 commit into from
Aug 21, 2020

Conversation

gssbzn
Copy link
Collaborator

@gssbzn gssbzn commented Aug 21, 2020

Proposed changes

Jira ticket:

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • I have added any necessary documentation (if appropriate)
  • I have run make fmt and formatted my code

Further comments

The spinner will look like

https://github.com/briandowns/spinner/blob/master/gifs/9.gif

Copy link
Contributor

@robcarlan-mlab robcarlan-mlab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, just one q


const (
defaultWait = 4 * time.Second
speed = 100 * time.Millisecond
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will this query the API every 100ms?

Copy link
Collaborator Author

@gssbzn gssbzn Aug 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

speed is the speed the spinner spins (now say that 5 times :P)
we'll query the api very 5 seconds, defaultWait

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:D ok great! lgtm in that case

@gssbzn gssbzn merged commit 4f06b7c into master Aug 21, 2020
@gssbzn gssbzn deleted the CLOUDP-69475 branch August 21, 2020 17:27
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

Successfully merging this pull request may close these issues.

2 participants