Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/digitalocean-plugin
  Commit: 23ecf00001b6de12327bc4919dd292267701dda0
      
https://github.com/jenkinsci/digitalocean-plugin/commit/23ecf00001b6de12327bc4919dd292267701dda0
  Author: Harald Sitter <sitter.har...@gmail.com>
  Date:   2017-12-02 (Sat, 02 Dec 2017)

  Changed paths:
    M src/main/java/com/dubture/jenkins/digitalocean/Cloud.java

  Log Message:
  -----------
  convert old configs to new objects and force sane default values (#41)

I am actually not sure how this was dealt with in the past, but currently
the Cloud object is unmarshalled from the config.xml if present, which
means new members are null unless the user goes to the global config and
saves it so that they get properly initialized.
To deal with this we are now adding custom unmarshalling for the new
members to get initialized with sane default values.

This prevents nullptr exceptions when loading the new plugin on old configs


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to