Skip to content

Commit

Permalink
Fix random number generator initialization.
Browse files Browse the repository at this point in the history
  • Loading branch information
koral-- committed Nov 29, 2017
1 parent b9e092e commit e351a86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bitrise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git
app:
envs:
- BITRISE_STEP_ID: openstf-connect
- BITRISE_STEP_VERSION: "0.0.3"
- BITRISE_STEP_VERSION: "0.0.4"
- BITRISE_STEP_GIT_CLONE_URL: https://github.com/DroidsOnRoids/bitrise-step-openstf-connect
- MY_STEPLIB_REPO_FORK_GIT_URL: $MY_STEPLIB_REPO_FORK_GIT_URL
workflows:
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type RemoteConnection struct {

const devicesEndpoint = "/api/v1/devices"
const userDevicesEndpoint = "/api/v1/user/devices"
const random = rand.New(rand.NewSource(time.Now().UnixNano()))
var random = rand.New(rand.NewSource(time.Now().UnixNano()))

var client = &http.Client{Timeout: time.Second * 10}

Expand Down

0 comments on commit e351a86

Please sign in to comment.