Skip to content

Commit

Permalink
Remove unneeded null check
Browse files Browse the repository at this point in the history
  • Loading branch information
timja authored Aug 13, 2019
1 parent 59f4aba commit 97a0b01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vars/buildPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ def call(Map params = [:]) {
}

boolean hasDockerLabel() {
env?.NODE_LABELS?.contains("docker")
env.NODE_LABELS?.contains("docker")
}

static List<Map<String, String>> getConfigurations(Map params) {
Expand Down

0 comments on commit 97a0b01

Please sign in to comment.