Skip to content

Commit 76bcb5c

Browse files
authored
Merge pull request #158 from akamai/release/v1.5.1
Release/v1.5.1
2 parents 4192214 + c7b8ac4 commit 76bcb5c

File tree

5 files changed

+14
-5
lines changed

5 files changed

+14
-5
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# 1.5.1 (June 8, 2022)
2+
3+
## Fixes
4+
5+
* `update` command does not work for some packages, ie. `cli-terraform`
6+
17
# 1.5.0 (May 26, 2022)
28

39
## Enhancements

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -252,15 +252,15 @@ To see additional log information, prepend `AKAMAI_LOG=<logging-level>` to any C
252252
For example, to see extra debug information while updating the property-manager package, run:
253253

254254
```sh
255-
AKAMAI_CLI_LOG=debug akamai update property-manager
255+
AKAMAI_LOG=debug akamai update property-manager
256256
```
257257

258258
Each level is a progressive superset of all previous tiers. The output for `debug` also includes `fatal`, `error`, `warn`, and `info` logs.
259259

260260
If you want to redirect logs to a file, use the `AKAMAI_CLI_LOG_PATH` environmental variable:
261261

262262
```sh
263-
AKAMAI_CLI_LOG=debug AKAMAI_CLI_LOG_PATH=akamai.log akamai update property-manager
263+
AKAMAI_LOG=debug AKAMAI_CLI_LOG_PATH=akamai.log akamai update property-manager
264264
```
265265

266266
## Dependencies

pkg/git/repository.go

+3
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ func (r *repository) CommitObject(h plumbing.Hash) (*object.Commit, error) {
8888
}
8989

9090
func translateError(err error, defaultErrorFormat string) error {
91+
if err == nil {
92+
return nil
93+
}
9194
if err == transport.ErrAuthenticationRequired {
9295
return ErrPackageNotAvailable
9396
}

pkg/log/log_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ func TestSetupContext(t *testing.T) {
3131
expectedLevel: log.DebugLevel,
3232
},
3333
"invalid path passed": {
34-
envs: map[string]string{"AKAMAI_CLI_LOG_PATH": ".", "AKAMAI_CLI_LOG": "INFO"},
35-
expectedLevel: log.ErrorLevel,
34+
envs: map[string]string{"AKAMAI_CLI_LOG_PATH": ".", "AKAMAI_LOG": "INFO"},
35+
expectedLevel: log.InfoLevel,
3636
withError: regexp.MustCompile(`ERROR.*Invalid value of AKAMAI_CLI_LOG_PATH`),
3737
},
3838
"invalid log level passed, output to terminal": {

pkg/version/version.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import "github.com/Masterminds/semver"
44

55
const (
66
// Version Application Version
7-
Version = "1.5.0"
7+
Version = "1.5.1"
88
// Equals p1==p2 in version.Compare(p1, p2)
99
Equals = 0
1010
// Error failure parsing one of the parameters in version.Compare(p1, p2)

0 commit comments

Comments
 (0)