Fix tech debt in juju/api.go newAPIFromStore()

Bug #1300823 reported by Matthew Williams
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Invalid
Medium
Matthew Williams

Bug Description

The envname argument should never be "" so the code for handling this should not be needed.

Currently removing this code causes panics: http://paste.ubuntu.com/7189793/

We need to look into why

Tags: tech-debt
Curtis Hovey (sinzui)
tags: added: tech-debt
Changed in juju-core:
status: New → Triaged
importance: Undecided → High
Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1300823] Re: Fix tech debt in juju/api.go newAPIFromStore()

I run without a default environment set (I always supply -e) and I get some
really strange behavior where the core seems to always assume you will have
an environ set. (bash completion, in particular, spews all kinds of garbage
to the screen.)

On Tue, Apr 1, 2014 at 8:52 PM, Curtis Hovey <email address hidden> wrote:

> ** Tags added: tech-debt
>
> ** Changed in: juju-core
> Status: New => Triaged
>
> ** Changed in: juju-core
> Importance: Undecided => High
>
> --
> You received this bug notification because you are subscribed to juju-
> core.
> https://bugs.launchpad.net/bugs/1300823
>
> Title:
> Fix tech debt in juju/api.go newAPIFromStore()
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju-core/+bug/1300823/+subscriptions
>

Changed in juju-core:
importance: High → Medium
Revision history for this message
Anastasia (anastasia-macmood) wrote :

This code no longer exists.

Changed in juju-core:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.