~juju-qa/ubuntu/xenial/juju/2.0.2

« back to all changes in this revision

Viewing changes to src/github.com/juju/juju/state/model.go

  • Committer: Nicholas Skaggs
  • Date: 2016-12-09 22:31:29 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161209223129-h2wbknpc8ty29zwp
ImportĀ upstreamĀ 2.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
909
909
        }
910
910
}
911
911
 
912
 
func addModelServiceRefOp(st *State, applicationname string) txn.Op {
 
912
func addModelApplicationRefOp(st *State, applicationname string) txn.Op {
913
913
        return txn.Op{
914
914
                C:      modelEntityRefsC,
915
915
                Id:     st.ModelUUID(),
918
918
        }
919
919
}
920
920
 
921
 
func removeModelServiceRefOp(st *State, applicationname string) txn.Op {
 
921
func removeModelApplicationRefOp(st *State, applicationname string) txn.Op {
922
922
        return txn.Op{
923
923
                C:      modelEntityRefsC,
924
924
                Id:     st.ModelUUID(),