Просмотр исходного кода

Merge pull request #1847 from porter-dev/belanger/add-preview-env-fixes

Quickfix for formatting directive
abelanger5 4 лет назад
Родитель
Сommit
9a4a2b1516
1 измененных файлов с 1 добавлено и 1 удалено
  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
 	// if it does not exist, we set the default to 30 minutes
 	timeoutVal := getJobTimeoutValue(jobRelease.Release.Config)
 	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
 	// if no job exists with the given revision, wait for the timeout value
 	timeWait := time.Now().Add(timeoutVal)
 	timeWait := time.Now().Add(timeoutVal)