Skip to content

Commit 0c0c463

Browse files
authored
Fix 'disableProjectAvatar' getter; keep value when reconfiguring job (#294)
1 parent dee7766 commit 0c0c463

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/io/jenkins/plugins/gitlabbranchsource/GitLabAvatarTrait.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,11 @@ public void setDisableProjectAvatar(boolean disableProjectAvatar) {
3333
protected void decorateContext(SCMSourceContext<?, ?> context) {
3434
if (context instanceof GitLabSCMSourceContext) {
3535
GitLabSCMSourceContext ctx = (GitLabSCMSourceContext) context;
36-
ctx.withProjectAvatarDisabled(doDisableProjectAvatar());
36+
ctx.withProjectAvatarDisabled(isDisableProjectAvatar());
3737
}
3838
}
3939

40-
public boolean doDisableProjectAvatar() {
40+
public boolean isDisableProjectAvatar() {
4141
return disableProjectAvatar;
4242
}
4343

0 commit comments

Comments
 (0)