func (r *ProtocolLXD) GetImageSecret(fingerprint string) (string, error) {
	op, err := r.CreateImageSecret(fingerprint)
	if err != nil {
		return "", err
	}
	opAPI := op.Get()

	return opAPI.Metadata["secret"].(string), nil
}
func (r *ProtocolLXD) GetImageSecret(fingerprint string) (string, error) {
	op, err := r.CreateImageSecret(fingerprint)
	if err != nil {
		return "", err
	}
	opAPI := op.Get()

	return opAPI.Metadata["secret"].(string), nil
}
func ( r * ProtocolLXD ) GetImageSecret ( fingerprint string ) ( string , error ) { op , err := r . CreateImageSecret ( fingerprint ) if err != nil { return " " , err } opAPI := op . Get ( ) return opAPI . Metadata [ " " ] . ( string ) , nil }
// GetImageSecret is a helper around CreateImageSecret that returns a secret for the image
GetImageSecret is a helper around CreateImageSecret that returns a secret for the image