Skip to content

Commit

Permalink
Merge pull request #14545 from gabemontero/fix-pipeline-no-annotation…
Browse files Browse the repository at this point in the history
…-log-msg

soften pipeline log missing annotation msg
  • Loading branch information
smarterclayton authored Jun 11, 2017
2 parents 60ae3eb + fb28c6c commit 16b9025
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/cli/cmd/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func (o OpenShiftLogsOptions) RunLog() error {
case isBld:
urlString, _ := build.Annotations[buildapi.BuildJenkinsBlueOceanLogURLAnnotation]
if len(urlString) == 0 {
return errors.New(fmt.Sprintf("The build %s did not have the correct log URL", build.ObjectMeta.Name))
return errors.New(fmt.Sprintf("The pipeline strategy build %s does not yet contain the log URL; wait a few moments, then try again", build.ObjectMeta.Name))
}
o.KubeLogOptions.Out.Write([]byte(fmt.Sprintf("info: Logs available at %s\n", urlString)))
default:
Expand Down

0 comments on commit 16b9025

Please sign in to comment.