Commit graph

1 commit

Author SHA1 Message Date
Stan Hu
3bff85a4f6 Fix the writing of invalid environment refs
Environment names that contained a space would cause an error
in GitLab 10.1 because a new guard clause was introduced in
Repository#write_ref to prevent such references from
existing. Use the slug instead to ensure that the name
is valid.

Closes #39182
2017-10-23 04:15:26 +03:00