mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 15:59:41 +02:00
go 1.13 compatibility
This commit is contained in:
parent
a3ec2f8e85
commit
6d8f5e7479
5 changed files with 20 additions and 17 deletions
|
@ -2,7 +2,6 @@ package backup
|
|||
|
||||
import (
|
||||
"fmt"
|
||||
"io/fs"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"time"
|
||||
|
@ -14,7 +13,7 @@ import (
|
|||
"github.com/portainer/portainer/api/http/offlinegate"
|
||||
)
|
||||
|
||||
const rwxr__r__ fs.FileMode = 0744
|
||||
const rwxr__r__ os.FileMode = 0744
|
||||
|
||||
var filesToBackup = []string{"compose", "config.json", "custom_templates", "edge_jobs", "edge_stacks", "extensions", "portainer.key", "portainer.pub", "tls"}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue