Rename function name
Rename function name

Per riyaz's suggestions - using maybeAutoPublish would be more
clear that we may not actully publish.

Signed-off-by: Hu Keping <ce660952c949ad2751377b45317337be332e80ac@huawei.com>

dqminh/notary,vdemeester/notary,jfrazelle/notary,umayr/notary,andrewhsu/notary,HuKeping/notary,andrewhsu/notary,endophage/notary,dqminh/notary,andrewhsu/notary,umayr/notary,docker/notary,johnsandiford/notary,johnsandiford/notary,HuKeping/notary,HuKeping/notary,endophage/notary,jfrazelle/notary,endophage/notary,docker/notary,vdemeester/notary,dqminh/notary,docker/notary,johnsandiford/notary,vdemeester/notary,jfrazelle/notary,umayr/notary