refactor(config): s/ResolveCloudConfig/ApplyCloudConfig/

This commit is contained in:
Brian Waldon 2014-03-05 14:50:20 -08:00
parent 95a00070c3
commit 7474a85fec
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ func (cc CloudConfig) String() string {
}
}
func ResolveCloudConfig(cfg CloudConfig, sshKeyName string) error {
func ApplyCloudConfig(cfg CloudConfig, sshKeyName string) error {
if len(cfg.SSH_Authorized_Keys) > 0 {
err := AuthorizeSSHKeys(sshKeyName, cfg.SSH_Authorized_Keys)
if err == nil {

View File

@ -73,7 +73,7 @@ func main() {
switch t := parsed.(type) {
case cloudinit.CloudConfig:
err = cloudinit.ResolveCloudConfig(t, sshKeyName)
err = cloudinit.ApplyCloudConfig(t, sshKeyName)
case cloudinit.Script:
var path string
path, err = cloudinit.PersistScriptInWorkspace(t, workspace)