File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ applications :
2+ test1 :
3+ charm : " ../charm-manifest"
4+ num_units : 1
Original file line number Diff line number Diff line change 1+ options :
2+ status :
3+ type : string
4+ default : " active"
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ status=" $( config-get status) "
4+
5+ if [[ " $status " == " error" ]]; then
6+ if [[ -e .errored ]]; then
7+ status=" active"
8+ else
9+ touch .errored
10+ exit 1
11+ fi
12+ fi
13+ status-set " $status "
Original file line number Diff line number Diff line change 1+ analysis :
2+ attributes :
3+ - name : language
4+ result : python
5+ - name : framework
6+ result : operator
7+ bases :
8+ - architectures :
9+ - amd64
10+ channel : ' 20.04'
11+ name : ubuntu
12+ charmcraft-started-at : ' 2021-08-20T08:09:00.639806Z'
13+ charmcraft-version : 1.2.1
Original file line number Diff line number Diff line change 1+ name : charm
2+ summary : " test"
3+ description : " test"
4+ maintainers : ["test"]
You can’t perform that action at this time.
0 commit comments