Explorar o código

add formatting directive fix

Alexander Belanger %!s(int64=4) %!d(string=hai) anos
pai
achega
fdad9d8744
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      cli/cmd/job.go

+ 1 - 1
cli/cmd/job.go

@@ -170,7 +170,7 @@ func waitForJob(_ *types.GetAuthenticatedUserResponse, client *api.Client, args
 	// if it does not exist, we set the default to 30 minutes
 	timeoutVal := getJobTimeoutValue(jobRelease.Release.Config)
 
-	color.New(color.FgYellow).Printf("Waiting for timeout seconds %d\n", timeoutVal.Seconds())
+	color.New(color.FgYellow).Printf("Waiting for timeout seconds %.1f\n", timeoutVal.Seconds())
 
 	// if no job exists with the given revision, wait for the timeout value
 	timeWait := time.Now().Add(timeoutVal)