@@ -32,8 +32,8 @@ func MigrateToEncryptedConfig(ctx context.Context, l *logp.Logger, unencryptedCo
3232
3333 unencStat , unencFileErr := os .Stat (unencryptedConfigPath )
3434
35- l .Debugf (fmt . Sprintf ( "checking stat of enc config %q: %+v, err: %v" , encryptedConfigPath , encStat , encFileErr ) )
36- l .Debugf (fmt . Sprintf ( "checking stat of unenc config %q: %+v, err: %v" , unencryptedConfigPath , unencStat , unencFileErr ) )
35+ l .Debugf ("checking stat of enc config %q: %+v, err: %v" , encryptedConfigPath , encStat , encFileErr )
36+ l .Debugf ("checking stat of unenc config %q: %+v, err: %v" , unencryptedConfigPath , unencStat , unencFileErr )
3737
3838 isEncryptedConfigEmpty := errors .Is (encFileErr , fs .ErrNotExist ) || encStat .Size () == 0
3939 isUnencryptedConfigPresent := unencFileErr == nil && unencStat .Size () > 0
@@ -54,7 +54,7 @@ func MigrateToEncryptedConfig(ctx context.Context, l *logp.Logger, unencryptedCo
5454 defer func () {
5555 err = reader .Close ()
5656 if err != nil {
57- l .Errorf (fmt . Sprintf ( "Error closing unencrypted store reader for %q: %v" , unencryptedConfigPath , err ) )
57+ l .Errorf ("Error closing unencrypted store reader for %q: %v" , unencryptedConfigPath , err )
5858 }
5959 }()
6060 store , err := storage .NewEncryptedDiskStore (ctx , encryptedConfigPath , storageOpts ... )
0 commit comments