Skip to content

Commit e8797ac

Browse files
committed
Also need to import "errors" to use it.
Signed-off-by: Kurt Garloff <[email protected]>
1 parent 9fd82a9 commit e8797ac

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

pkg/clusterstack/config.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ limitations under the License.
1818
package clusterstack
1919

2020
import (
21+
"errors"
2122
"fmt"
2223
"os"
2324
"path/filepath"

pkg/clusterstack/version.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ limitations under the License.
1717
package clusterstack
1818

1919
import (
20+
"errors"
2021
"fmt"
2122
"regexp"
2223
"strconv"

pkg/cmd/create.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package cmd
1919
import (
2020
"context"
2121
"encoding/json"
22+
"errors"
2223
"fmt"
2324
"os"
2425
"path/filepath"

pkg/hash/hash.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import (
2121
"crypto/sha256"
2222
"encoding/base64"
2323
"encoding/json"
24+
"errors"
2425
"fmt"
2526
"io"
2627
"os"

0 commit comments

Comments
 (0)