Skip to content
Snippets Groups Projects
Commit ceba7ff1 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

always sleep for a second there

parent ac7d31b8
No related branches found
No related tags found
No related merge requests found
...@@ -101,9 +101,7 @@ var rootCmd = &cobra.Command{ ...@@ -101,9 +101,7 @@ var rootCmd = &cobra.Command{
numReg := 1 numReg := 1
numNotReg := 100 numNotReg := 100
for numReg < 3*numNotReg { for numReg < 3*numNotReg {
if numReg != 0 {
time.Sleep(1 * time.Second) time.Sleep(1 * time.Second)
}
numReg, numNotReg, err = client.GetNodeRegistrationStatus() numReg, numNotReg, err = client.GetNodeRegistrationStatus()
if err != nil { if err != nil {
jww.FATAL.Panicf("%+v", err) jww.FATAL.Panicf("%+v", err)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment