Skip to content

Commit

Permalink
JENKINS-40737 fix data migration of JsonConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
imod committed Jan 3, 2017
1 parent 2b7f856 commit 6cb26ce
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -116,7 +116,7 @@ public Config newConfig(@NonNull String id) {

@Override
public <T extends Config> T convert(Config config) {
return (T) new JsonConfig(config);
return (T) new JsonConfig(config.id, config.name,config.comment,config.content,getProviderId());
}
}

Expand Down

0 comments on commit 6cb26ce

Please sign in to comment.