Skip to content

Bind command wrong in weather sample readme  #3

Open
@sbabin

Description

@sbabin

I found this in the Weather sample, but may be in other samples too.

At the end of the readme, the command to bind the weather service to the forecast action is incorrect.

It says: bx wsk bind weatherinsights Forecast/WeatherForecast
Which returns an error.

The command that worked was: bx wsk service bind weatherinsights Forecast/WeatherForecast

Also, 'weatherinsights' was not the default name of the weather service when I created it, so it could not find it. I had to rename the service to weatherinsights. Would be good for the readme to warn of this.

Also I had to add the credentials to the service or it also gave an error. A note on that too would be good, especially for people coming up to speed on IBM Cloud services.

The last two issues could be briefly described in Create Weather Service section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions