Skip to content
Permalink
Browse files

JENKINS-40737 fix data migration of JsonConfig

  • Loading branch information
imod committed Jan 3, 2017
1 parent 2b7f856 commit 6cb26ce62e8cd5009d39a1cb29c71cc2636d703a
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/jenkinsci/plugins/configfiles/json/JsonConfig.java
@@ -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());
}
}

0 comments on commit 6cb26ce

Please sign in to comment.