projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'v8.0'
[osm/devops.git]
/
installers
/
charm
/
ng-ui
/
src
/
charm.py
diff --git
a/installers/charm/ng-ui/src/charm.py
b/installers/charm/ng-ui/src/charm.py
index
8e21bcd
..
d9ad8f2
100755
(executable)
--- a/
installers/charm/ng-ui/src/charm.py
+++ b/
installers/charm/ng-ui/src/charm.py
@@
-13,11
+13,12
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-import sys
-import logging
import base64
import base64
-
-sys.path.append("lib")
+from glob import glob
+import logging
+from pathlib import Path
+from string import Template
+import sys
from ops.charm import CharmBase
from ops.framework import StoredState, Object
from ops.charm import CharmBase
from ops.framework import StoredState, Object
@@
-30,9
+31,9
@@
from ops.model import (
WaitingStatus,
)
WaitingStatus,
)
-from glob import glob
-from pathlib import Path
-from string import Template
+
+sys.path.append("lib")
+
logger = logging.getLogger(__name__)
logger = logging.getLogger(__name__)
@@
-158,6
+159,8
@@
class NGUICharm(CharmBase):
}
)
}
)
+ logger.debug(files)
+
spec = {
"version": 2,
"containers": [
spec = {
"version": 2,
"containers": [